1 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3 * Version 1.92 test release.
5 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
7 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
8 to klogctl to match prototype in sys/klog.h.
10 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
11 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
13 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
14 Remove. Code is now part of __getcwd again. The old function
15 never really worked for anything but THISDIR==".".
17 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
18 only when building ELF version of library.
20 * libio/libioP.h (_IO_vscanf): Add prototype.
22 * posix/unistd.h (syscall): Change sysno arg and return value
25 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
27 * version.h (VERSION): Updated to 1.92.
29 * misc/Makefile (headers): Add ar.h.
30 * misc/ar.h: New file.
32 * config.make.in (BUILD_CC): New variable.
33 * configure.in: Check for BUILD_CC if $host != $build.
35 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
37 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
38 (stamp$o files): New targets, create them empty, no deps.
40 * rpm/template (Source): New field.
41 (%prep, %build, %install): New sections.
42 (%files): Add %doc FAQ NEWS NOTES README.
43 * rpm/rpmrc (builddir): Removed.
45 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
47 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
48 guessing to not assume p_vaddr of first load cmd is zero.
50 * sysdeps/sparc/elf/start.S: New file.
51 * sysdeps/sparc/dl-machine.h: New file.
53 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
54 only for ?s, not for *s. Fix from Chet Ramey.
56 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
57 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
58 Use __{BEGIN,END}_DECLS.
59 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
60 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
61 New macros, moved here from sysdeps/gnu/utmpbits.h.
62 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
63 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
64 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
65 Use sizeof instead of UT_*SIZE.
66 * login/logwtmp.c: Likewise.
68 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
70 * version.c (banner): Add trailing newline.
72 * login/utmp.h: Declare login_tty.
74 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
76 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
77 Changed to a 12-byte PLT entry to remove dependency on $gp.
78 Take a new got_addr parameter.
79 (elf_machine_rela): Pass the new parameter.
80 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
81 (RTLD_START): Do normal linkage with program entry.
83 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
85 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
87 * hurd/getuids.c (getuids): New weak link to __getuids.
89 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
91 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
92 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
94 Rename nested function lookup to lookup_op.
95 (__file_name_lookup, __file_name_lookup_under):
96 Pass 0 for lookup arg to __hurd_file_name_lookup.
97 (__file_name_split): Likewise for __hurd_file_name_split.
98 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
99 Rename nested function lookup to scan_lookup.
100 (file_name_path_lookup): Pass 0 for lookup arg to
101 hurd_file_name_path_lookup.
102 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
103 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
104 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
106 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
107 __hurd_file_name_lookup.
109 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
111 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
112 up a huge list just to discard most of it.
114 * configure.in (sysnames): Avoid fgrep by using the case shell
117 * Makeconfig (config.status): Fix dependency on Implies files.
119 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
121 * math/Makefile (distribute): Add ieee-math.c.
123 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
125 * locale/codeset_name.c: New file. Provide function for information
126 about currently used character set.
127 * locale/Makefile (routines): Add codeset_name.
128 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
129 * locale/localeinfo.h: Change magic number because of incompatible
131 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
132 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
134 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
135 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
137 * locale/setlocale.c (setlocale): Initialize local variables to
140 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
142 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
144 * locale/programs/locale.c: Include string.h.
146 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
147 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
148 appropriate sign-extension is performed on machines with
151 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
152 sizeof(int)<sizeof(long), we need to go through a temporary
155 * locale/programs/ld-numeric.c: Include <alloca.h>
157 * libio/stdio.h (__libc_fatal): Add prototype.
159 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
162 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
163 volatile to avoid "might get clobbered by longjmp" warning.
165 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
166 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
167 probability is a sure loser).
168 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
170 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
171 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
173 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
174 to be Linux FSSTND compliant.
176 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
178 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
180 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
181 sysdeps/unix/sysv/linux/alpha/brk.S,
182 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
183 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
184 sysdeps/unix/sysv/linux/alpha/llseek.S,
185 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
186 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
187 __syscall_error to avoid intruding application name space.
189 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
190 to SYS_get?id so that syscall stubs in sysdeps/unix define
191 these syscalls in terms of getxpid/getxuid/getxgid.
193 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
194 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
195 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
196 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
198 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
199 (PSEUDO_END): Rename END() to PSEUDO_END().
201 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
202 to PSEUDO_END to improve branch-prediction. Include .frame
203 directive to make syscalls debugabble.
204 (PSEUDO_END): New macro.
206 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
207 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
208 latter is illegal under DEC Unix.
210 * sysdeps/unix/alpha/sysdep.S: Renamed from
211 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
213 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
214 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
215 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
217 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
218 address register in the .frame directive.
220 * sysdeps/alpha/copysign.c: Remove.
222 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
223 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
225 * errno.h: Move __END_DECLS to correct place to make file
226 compilable under c++.
228 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
229 d_ino only if <direntry.h> hasn't defined d_fileno.
231 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
232 arguments to weakext to make .weakext detection work on ECOFF systems.
234 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
235 that _validuser() has been replaced by __ivaliduser().
237 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
239 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
240 as unsigned long, not as int (to avoid incorrect int->long
243 Tue Jun 18 17:56:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
245 * Version 1.91 test release.
247 * Makerules ($(common-objpfx)distinfo-$(subdir)): Change target from
249 (distinfo): Make phony target depending on that.
250 (TAGS, po/%.pot, dist): Change deps.
251 (common-clean): Remove that file.
252 * rpm/Makefile (distinfo): Change names.
254 * rpm/Makefile (clean): New target.
256 * stdlib/test-canon.c: New test program contributed by David Mosberger.
257 * stdlib/Makefile (tests): Add test-canon.
258 * stdlib/canonicalize.c: Rewritten by David Mosberger.
260 Mon Jun 17 17:53:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
262 * mach/Machrules (%_server.c %_server.h rule): Remove gratuitous
263 mention of $< in mig cmd. Thanks to Shantanu Goel.
265 * sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for
268 * libio/stdio.h [__USE_SVID]: Declare tempnam.
270 Fri Jun 14 19:28:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
272 * sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two
275 Wed Jun 12 20:40:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
277 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to
280 Sun Jun 16 03:22:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
282 * sysdeps/stub/elfclass.h: New file.
284 * Make-dist (subdir): Make empty value really empty.
286 * version.h (VERSION): Update to 1.91.
288 * hurd/hurdinit.c (map0): Remove [!PIC] conditional.
290 * shlib-versions (*-*-*): Add libutil=1.
292 * rpm/Makefile (install-lib): Add libc.a et al.
293 (install-others): Only add libc.so if $(build-shared) is yes.
295 * math/Makefile (install-lib): New variable, list libieee.a.
296 (non-lib.a): Likewise.
297 (extra-objs): Likewise, and ieee-math.o.
298 ($(objpfx)libieee.a): New target, link to ieee-math.o.
299 * math/ieee-math.c: New file.
300 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw
302 * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed.
303 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed.
305 * sysdeps/unix/sysv/Makefile (sysdep_headers): Make append of termio.h
306 and rule for it conditional on termio.h not already being in
309 * rpm/Makefile (install-others) [libc.so-version]: Get libc.so from
310 $(libdir), only the versioned named from $(slibdir).
311 (instfiles): New variable.
312 (glibc-$(version).$(config).rpm): New target. Run rpm -bb.
313 * rpm/rpmrc: New file. A third of the options controlling rpm can
314 only be given here (another third is on the command line, and a third
315 cannot be specified in any way shape or form).
317 Sun Jun 16 02:44:22 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
319 * rpm/template: New file.
320 * rpm/Makefile: New file.
322 * Makeconfig (sysdep-configures): Remove empty variable.
324 * Makerules (distinfo-vars): Write defns for $(install-lib.so) and
327 * manual/Makefile (subdir_%): Add new rule with no deps, secondary to
328 to rule w/dep on %, with no-op commands.
330 * Makerules (subdir_distinfo): New phony target; depend on distinfo.
331 * Makefile (rpm/%): New rule.
332 (+subdir_targets): Add subdir_distinfo.
334 Sun Jun 16 00:40:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add
339 * time/Makefile ($(installed-localtime-file)): If target exists, do
340 nothing but print a message; if not, make it an absolute symlink.
342 * time/tzset.c (__tzset): After stripping leading :, call
343 __tzfile_read on TZ even if it's empty or null.
344 * time/tzfile.c (__tzfile_read): Use "Universal" if passed "".
346 Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
348 * hurd/Makefile (routines): Add get-host, set-host.
349 (distribute): Add hurdhost.h.
350 * hurd/hurdhost.h: New file.
351 * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config.
352 * sysdeps/mach/hurd/gethostid.c: Likewise.
353 * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config.
354 * sysdeps/mach/hurd/sethostid.c: Likewise.
355 * hurd/get-host.c: New file.
356 * hurd/set-host.c: New file.
358 * math/Makefile (headers): Add fpu_control.h.
359 (aux): New variable, list fpu_control and setfpucw.
360 * sysdeps/generic/fpu_control.c: New file.
361 * sysdeps/stub/fpu_control.h: New file.
362 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ...
363 * sysdeps/m68k/fpu_control.h: here.
364 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ...
365 * sysdeps/i386/fpu_control.h: here.
366 * sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ...
367 * sysdeps/alpha/fpu/fpu_control.h: here. Fixed copyright.
368 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
369 setfpucw, fpu_control.
370 * sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed.
371 * sysdeps/unix/sysv/linux/setfpucw.c: Moved to ...
372 * sysdeps/generic/setfpucw.c: here.
373 (__fpu_control): Variable removed.
374 (__setfpucw): Use SET even if zero.
376 * elf/dl-deps.c (_dl_map_object_deps): Set MAP's mark bit before loop.
377 Set mark bits of deps as opened, instead of as scanned.
379 * elf/rtld.c (dl_main): Remove _dl_rtld_map from chain unconditionally.
380 Then if it has a nonzero l_opencount, add it back in search order.
382 * elf/dl-load.c (_dl_map_object): Don't use _dl_loaded's DT_RPATH if
385 * sysdeps/unix/sysv/linux/Dist: Add sys/klog.h.
387 * elf/dl-open.c (_dl_open): Remove PARENT argument, pass null.
388 * elf/link.h: Update prototype.
389 * elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find
390 NAME, try the DT_RPATH of the executable itself if dynamic.
391 * elf/dlopen.c (dlopen): Don't pass first arg to _dl_open.
393 * elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an
396 * Makerules (build-shlib): Give -L opts for each elt of $(rpath-link).
398 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed.
399 (rpath-link): Append to this instead.
401 Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
403 * version.c (banner): New static const variable, complete version
405 (__libc_print_version): Use it, and use __write instead of printf.
407 * configure.in (sysnames): Don't cache the value, because it
408 depends only on libc sources. Merge uniquifying third pass into
409 Implies/parent expansion second pass. Report each unique name as
410 it is added in partial report string, terminated when finished.
412 * Makeconfig (sysdep_dir): Move defn before config.status rule that
414 (sysdep-configures): Variable removed.
415 (config.status): Use its contents directly, tighten up a bit, and
416 include Implies files.
418 * elf/dl-open.c (_dl_open) [PIC]: Set PARENT to _dl_loaded if null.
420 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Make a symlink.
422 Thu Jun 13 14:29:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
424 * hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:'
425 label to `deliver_pending:' to match goto.
427 Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
429 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill):
432 * elf/rtld.c (dl_main): Close _dl_zerofd after mapping deps.
434 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
435 weak alias for _mcount.
436 * sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
438 * elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is
439 null, consider it a strong reference and give the error.
441 Wed Jun 12 15:52:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
443 * elf/dl-open.c (_dl_open): Correctly terminate relocating loop
444 after relocating NEW when it's the only new object.
446 * elf/dl-init.c (_dl_init_next): When out of initializers, set
447 _r_debug.r_state to RT_CONSISTENT and call _dl_debug_state just
450 * elf/rtld.c (dl_main): Move _dl_debug_initialize call after
451 relocation. Call it unconditionally and only fill in DT_DEBUG
452 if it's present. Then call _dl_debug_state with r_state RT_ADD
453 before running initializers.
455 * elf/dl-open.c (_dl_open): Call _dl_debug_initialize and then call
456 _dl_debug_state with r_state RT_ADD before running initializers
457 * elf/dl-close.c (_dl_close): Call _dl_debug_state with r_state
458 RT_DELETE before running finalizers and with RT_CONSISTENT just
461 * elf/Makefile (dl-routines): Add dl-debug.
462 * elf/dl-debug.c: New file.
463 * elf/rtld.c (_dl_r_debug): Rename to _r_debug and move to dl-debug.c.
464 (_dl_r_debug_state): Rename to _dl_debug_state and likewise move.
465 (dl_main): Use _dl_debug_initialize.
466 * elf/link.h: Fix name to _dl_debug_state in decl.
467 (_dl_debug_initialize): Declare new function from dl-debug.c.
468 (_r_debug): Declare it.
470 * Makerules (distinfo-vars): Add install-{lib,data,bin,sbin,others}.
471 In distinfo set $(subdir)-VAR and then set VAR to $($(subdir)-VAR).
473 * Makeconfig (rpath-link): New variable; add $(elfobjdir).
474 (default-rpath): Use it.
475 (built-program-cmd): Use it in LD_LIBRARY_PATH.
477 * Makeconfig (sysdep-configures): Prepend $(sysdep_dir) to names tried.
479 * sysdeps/unix/Dist: Add make-syscalls.sh.
481 * misc/Makefile (headers): Add sys/swap.h.
482 * posix/unistd.h: Remove decls for swapon, swapoff.
483 * sysdeps/generic/sys/swap.h: New file.
484 * sysdeps/unix/sysv/linux/sys/swap.h: New file.
486 * sysdeps/unix/sysv/linux/gnu/types.h: Remove temporary hack #define
487 of __kernel_fsid_t. It is correctly defines in <linux/types.h> now.
489 Tue Jun 11 23:23:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
491 * Makerules (LDFLAGS-c.so): Use __libc_main instead of
492 __libc_print_version as entry point for shared object.
493 * version.c [HAVE_ELF] (__libc_main): New function.
495 * elf/dl-load.c (_dl_map_object_from_fd): Relocate l_entry with the
498 Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
500 * sysdeps/alpha/dl-machine.h: New file.
502 * elf/dl-close.c: Include <string.h> for memcpy.
503 * elf/dl-lookup.c: Same.
505 * elf/elf.h: Add Elfxx_Symndx for symbol indices.
506 * elf/dl-lookup.c (_dl_lookup_symbol): Use it.
507 (_dl_setup_hash): Use it.
508 * elf/link.h (struct link_map): Use it.
510 * elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack
511 for getting the argc/argv/envp block. Instead, make it the argument.
512 sysdeps/i386/dl-machine.h (RTLD_START): Do that.
513 sysdeps/m68k/dl-machine.h (RTLD_START): Same.
515 * shlib-versions: Add version numbers for alpha-linux. To avoid
516 user confusion, make them the same as i386-linux.
518 * sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to
519 sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them.
520 Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap
521 without using literal data.
523 * sysdeps/generic/dl-sysdep.c: Include <string.h> for memcpy.
524 Finish Elf32 -> ElfW migration.
526 Tue Jun 11 15:09:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
528 * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir.
530 * elf/Makefile (routines): Remove init-first.
531 * csu/Makefile (routines): New variable; put it here instead.
533 * config.make.in (CFLAGS): New variable.
535 * io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD,
537 * string/string.h (strncasecmp): Likewise.
539 * elf/Makefile (lib-noranlib): Move rule adding deps for ld.so et al
540 to after `include ../Rules', so $(rtld-installed-name) is defined.
542 * string/basename.c (basename): Cast FILENAME to char * for return.
544 * Makerules ($(libdir)/libc.so): Put $(rtld-installed) name between
545 libc.so and libc.a in the deps.
547 * elf/Makefile ($(objpfx)$(rtld-installed-name)): New target to make
548 link to ld.so if that is not the installed name.
549 (lib-noranlib): Depend on the installed name in the build directory
552 * Makeconfig (link-libc): Include $(elfobjdir)/$(rtld-installed-name)
553 between libc.so and libc.a, because with libc.so's DT_NEEDED for ld.so
554 ld searches libc.a before ld.so (is that an ld bug?).
555 Add $(elfobjdir) to -rpath-link.
557 * Makerules (elfobjdir): Define as . when $(subdir) is elf.
559 * sysdeps/i386/dl-machine.h (elf_machine_rel): In R_386_32 case when
560 relocating _dl_rtld_map, subtract SYM's value from final reloc value,
561 but don't change *RELOC_ADDR before calling *RESOLVE, because it might
562 call the function we are relocating!
564 * string/basename.c: New file.
565 * string/Makefile (routines): Add basename.
567 Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
569 * Makerules ($(common-objpfx)libc.so): Depend on $(elfobjdir)/ld.so.
571 * elf/dl-close.c: New file.
572 * elf/link.h: Declare _dl_close.
573 * elf/Makefile (routines): Add dl-close.
574 * elf/dlclose.c (dlclose): Use _dl_close.
576 * elf/Makefile ($(objpfx)librtld.so): Remove libelf from deps.
578 * elf/dl-runtime.c (_dl_global_scope): New variable.
579 (_dl_object_relocation_scope): New function.
581 * elf/rtld.c (dl_main): Use it.
582 * elf/dl-open.c (_dl_open): Use it. If (MODE & RTLD_GLOBAL), set the
583 l_global bit and append the new map to _dl_global_scope.
584 * elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc,
585 and _dl_object_relocation_scope.
587 * elf/link.h (struct link_map): Add l_loader member.
588 Remove _dl_map_object_from_fd decl.
589 * elf/dl-load.c (_dl_map_object): Pass LOADER to ...
590 (_dl_map_object_from_fd): Take new arg LOADER and set l_loader member.
591 (_dl_map_object): Try DT_RPATH from all loaders up the chain.
593 * elf/dl-object.c (_dl_loaded): Variable removed.
594 (_dl_default_scope): New variable replaces it.
595 * elf/link.h (_dl_loaded): Remove variable decl; instead define as
596 macro for _dl_default_scope[2].
597 (_dl_default_scope): Declare it.
598 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2]
599 instead of _dl_loaded.
600 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
601 * elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups.
603 * elf/dl-reloc.c (_dl_relocate_object): Remove check for _dl_rtld_map.
604 * elf/rtld.c (dl_main): Pass 0 for LAZY flag when re-relocating self.
606 * elf/link.h (struct link_map.l_type): Remove lt_interpreter.
607 (struct link_map): Add new flag member l_global.
609 * elf/dl-reloc.c (_dl_relocate_object): Check for _dl_rtld_map
610 directly instead of looking for lt_interpreter.
611 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
612 * elf/rtld.c (_dl_start): Don't bother setting BOOTSTRAP_MAP.l_type.
613 (dl_main): Set _dl_rtld_map.l_type to lt_library.
615 * elf/dl-deps.c (_dl_map_object_deps): Propagate MAP->l_type to
616 dependencies loaded, downgrading lt_executable -> lt_library.
618 * elf/dl-load.c (_dl_map_object_from_fd): Take new arg TYPE and set
619 l_type from that, translating lt_library->lt_executable based on the
621 (_dl_map_object): Likewise.
622 * elf/link.h: Update prototypes.
623 * elf/dl-open.c: Pass type lt_loaded.
624 * elf/rtld.c: Pass type lt_library.
626 * elf/dl-load.c (_dl_map_object_from_fd): Handle null return from
628 (_dl_map_object_from_fd: lose): Unchain and free L if it's not null.
629 Free REALNAME, and just use NAME in error message.
630 * elf/dl-object.c (_dl_new_object): If malloc fails, return null
631 instead of calling _dl_signal_error.
633 * elf/dl-load.c (_dl_map_object_from_fd): Close FD before signalling
634 error for _dl_zerofd setup failure.
636 * elf/dl-object.c (_dl_startup_loaded): Variable removed.
637 * elf/link.h: Remove its decl.
639 * elf/dl-reloc.c (_dl_relocate_object): Take new SCOPE arg and pass it
640 through to _dl_lookup_symbol.
641 * elf/link.h (_dl_relocate_object): Update comment and prototype.
642 * elf/rtld.c (dl_main): Pass scope vector to _dl_relocate_object.
644 * elf/dl-lookup.c (_dl_lookup_symbol): Arg SYMBOL_SCOPE is now a
645 null-terminated vector of pointers, no longer a vector of exactly two.
646 * elf/link.h (_dl_lookup_symbol): Update comment and prototype.
648 * elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as
649 done in _dl_relocate_object.
651 * elf/dlopen.c: Pass "" to _dl_open when FILE is null.
653 * elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS.
654 (ElfW, ELFW): Use it.
655 * elf/Makefile (headers): Add elfclass.h.
656 * sysdeps/wordsize-32/elfclass.h: New file.
657 * sysdeps/wordsize-64/elfclass.h: New file.
658 * sysdeps/alpha/Implies: Add wordsize-64.
659 * sysdeps/i386/Implies: Add wordsize-32.
660 * sysdeps/m68k/Implies: Add wordsize-32.
661 * sysdeps/mips/Implies: Add wordsize-32.
662 * sysdeps/sparc/Implies: Add wordsize-32.
664 * sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open.
665 (__close, __mmap): Likewise define with __ names now.
667 Mon Jun 10 05:13:18 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
669 * elf/dl-support.c: New file.
670 * elf/Makefile (CFLAGS-dl-support.c): New variable.
671 (routines, elide-routines.so): Add dl-support.
673 * elf/dl-minimal.c (_dl_pagesize): Remove common defn.
674 * elf/dl-load.c (_dl_pagesize): Define it here.
675 (_dl_map_object_from_fd): Initialize it if zero.
676 * elf/link.h (_dl_pagesize): Remove const.
678 Sun Jun 9 04:04:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
680 * elf/Makefile (routines): Add dl-symbol.
681 * elf/dl-lookup.c (_dl_symbol_value): Moved to ...
682 * elf/dl-symbol.c: New file.
684 * elf/elf.h (Elf32_Xword, Elf32_Sxword): New types.
685 (Elf32_Section, Elf64_Section): New types, 16 bits.
686 (Elf32_Sym, Elf64_Sym): Use it.
688 * elf/dl-deps.c (_dl_open): Moved to ...
689 * elf/dl-open.c: New file.
690 * Makefile (routines): Add dl-open.
692 * elf/Makefile (dl-routines): New variable.
693 (routines): Add $(dl-routines).
694 (elide-routines.so): New variable, set to $(dl-routines).
695 (libdl-inhibit-o): Variable removed; build all flavors of -ldl.
696 (rtld-routines): All but rtld, dl-sysdep, and dl-minimal moved to
699 * elf/dl-lookup.c (_dl_lookup_symbol): Remove magic symbol grokage.
701 * elf/dladdr.c: Use ELFW(ST_BIND) in place of ELF32_ST_BIND.
703 * elf/dl-load.c (open_path): Use __ names for open and close. Avoid
705 (_dl_map_object): Likewise.
706 (_dl_map_object_from_fd): Use __ names for mmap, munmap, and mprotect.
707 * elf/dl-minimal.c (malloc): Likewise.
708 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
710 * elf/dl-minimal.c (_dl_pagesize): New variable.
711 (malloc): Use that instead of a static variable.
712 * elf/dl-reloc.c (_dl_relocate_object): Use _dl_pagesize instead of
714 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
715 * elf/link.h: Declare _dl_pagesize.
717 * elf/rtld.c (dl_r_debug): Renamed to _dl_r_debug.
719 * elf/link.h (struct link_map): Use Half for l_phnum instead of Word.
720 * elf/rtld.c (dl_main): Use Half for phdr count arg.
721 (_dl_sysdep_start): Update prototype of DL_MAIN function ptr arg.
723 * elf/dl-load.c (_dl_map_object_from_fd): Use explicit Elf32_Word to
724 extract 4-byte magic number, not ElfW(Word). Match EI_CLASS against
725 native wordsize, either 32 or 64.
727 * elf/elf.h (Elf64_Byte, Elf64_Section): Typedefs removed. In C a
728 char is always a byte, no need for a typedef. Section indices are
729 16-bit quantities in elf64, which already have a typedef Elf64_Half.
731 Remove partial -lelf implementation. There is now a
732 separately-distributed `libelf' package that implements it.
733 * elf/dl-lookup.c: Don't #include <libelf.h> any more.
734 (_dl_elf_hash): New function, moved from
736 (_dl_lookup_symbol): Use it instead of elf_hash.
737 * elf/libelf.h: File removed.
738 * elf/elf_hash.c: File removed.
739 * elf/Makefile (headers): Remove libelf.h.
740 (extra-libs): Remove libelf.
741 (libelf-routines): Variable removed.
743 * elf/Makefile (libdl.so): Remove commands from this target. The
744 implicit rule commands are correct, this explicit rule just serves to
745 add some dependencies.
747 * elf/dl-lookup.c (_dl_lookup_symbol): Use ELFW(ST_TYPE) in place of
748 ELF32_ST_TYPE. Likewise ST_BIND.
749 * elf/do-rel.h (elf_dynamic_do_rel): Likewise R_SYM.
751 * elf/link.h (ElfW): New macro for wordsize-independent ElfXX_* type
753 (ELFW): New macro, likewise for ELFXX_* macro naming.
754 (_ElfW, _ElfW_1): New macros, subroutines of ElfW and ELF.
756 Sat Jun 8 20:52:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
758 * elf/link.h, elf/do-rel.h, elf/dynamic-link.h, elf/dl-deps.c,
759 elf/dl-init.c, elf/dl-load.c, elf/dl-lookup.c, elf/dl-reloc.c,
760 elf/dl-runtime.c, elf/dladdr.c, elf/dlclose.c, elf/dlsym.c,
761 elf/linux-compat.c, elf/rtld.c: Change all uses of `Elf32_XXX' to
762 `ElfW(XXX)' for wordsize-independence.
764 Sat Jun 8 20:50:42 1996 Richard Henderson <rth@tamu.edu>
766 * elf/elf.h: Move Elf64_* types in parity with Elf32 counterparts.
767 (Elf64_auxv_t): New type.
768 (EM_ALPHA, R_ALPHA_*): New macros for elf64-alpha format.
770 Mon Jun 10 02:22:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
772 * sysdeps/unix/sysv/linux/configure.in: New file, start with configure.
773 Add check for installed <linux/version.h> being v2.0 or later.
775 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open
777 (_dl_sysdep_fatal): Call __write instead of write.
778 (_dl_sysdep_message): Likewise.
780 Sun Jun 9 20:40:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
782 * sysdeps/m68k/fpu/e_acosl.c: New file.
784 Sun Jun 9 01:11:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
786 * Makerules (o-objects): New variable. Use it in place of
787 $(objects:.o=$o); it filters out $(elide-routines$o).
788 Use o-iterator for ar and ranlib rules so they use the per-type object
791 * elf/dl-load.c (_dl_map_object_from_fd): Close FD before return.
793 * sysdeps/mach/mprotect.c: Define with __ name and weak alias.
794 * sysdeps/stub/mprotect.c: Likewise.
795 * sysdeps/unix/mman/syscalls.list (mprotect): Likewise.
796 * sysdeps/generic/sys/mman.h: Declare __mprotect.
797 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
798 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
799 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
800 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
801 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
803 * Make-dist ($(tardir).tar): Use sed to check for file names longer
804 than 14 chars, instead of doschk which checks for other things we
807 * Version 1.90 test release.
809 * Makerules (make-target-directory): Use ./mkinstalldirs so we do not
812 Sat Jun 8 22:05:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
814 * math/Makefile (distribute): Comment out addition of
815 $(long-m-routines) sources until they are all written.
817 * math/Makefile (distribute): Append long double source names to this
818 instead of using elided-routines.
820 Sat Jun 8 15:15:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
822 * mach/mach_shortcuts.c: Obsolete file removed.
823 * mach/mach_syscalls.h: Likewise.
825 * hurd/Makefile (distribute): Consolidate defns into one.
827 * time/Makefile (tzfiles): Add solar87 solar88 solar89.
829 Fri Jun 7 16:48:13 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831 * sysdeps/unix/sysv/linux/i386/Dist: New file, list sys/perm.h and
834 Removed old math code no longer used since the fdlibm integration.
835 * sysdeps/stub/acos.c: File removed.
836 * sysdeps/stub/asin.c: File removed.
837 * sysdeps/stub/atan2.c: File removed.
838 * sysdeps/stub/cosh.c: File removed.
839 * sysdeps/stub/exp.c: File removed.
840 * sysdeps/stub/fmod.c: File removed.
841 * sysdeps/stub/frexp.c: File removed.
842 * sysdeps/stub/log.c: File removed.
843 * sysdeps/stub/log10.c: File removed.
844 * sysdeps/stub/sinh.c: File removed.
845 * sysdeps/stub/tan.c: File removed.
846 * sysdeps/stub/tanh.c: File removed.
847 * sysdeps/generic/acos.c: File removed.
848 * sysdeps/generic/acosh.c: File removed.
849 * sysdeps/generic/asin.c: File removed.
850 * sysdeps/generic/asinh.c: File removed.
851 * sysdeps/generic/atan.c: File removed.
852 * sysdeps/generic/atan2.c: File removed.
853 * sysdeps/generic/atanh.c: File removed.
854 * sysdeps/generic/cabs.c: File removed.
855 * sysdeps/generic/ceil.c: File removed.
856 * sysdeps/generic/copysign.c: File removed.
857 * sysdeps/generic/cosh.c: File removed.
858 * sysdeps/generic/exp.c: File removed.
859 * sysdeps/generic/expm1.c: File removed.
860 * sysdeps/generic/fabs.c: File removed.
861 * sysdeps/generic/floor.c: File removed.
862 * sysdeps/generic/fmod.c: File removed.
863 * sysdeps/generic/frexp.c: File removed.
864 * sysdeps/generic/hypot.c: File removed.
865 * sysdeps/generic/infnan.c: File removed.
866 * sysdeps/generic/isnan.c: File removed.
867 * sysdeps/generic/ldexp.c: File removed.
868 * sysdeps/generic/log.c: File removed.
869 * sysdeps/generic/log10.c: File removed.
870 * sysdeps/generic/log1p.c: File removed.
871 * sysdeps/generic/modf.c: File removed.
872 * sysdeps/generic/pow.c: File removed.
873 * sysdeps/generic/rint.c: File removed.
874 * sysdeps/generic/sinh.c: File removed.
875 * sysdeps/generic/tan.c: File removed.
876 * sysdeps/generic/tanh.c: File removed.
877 * sysdeps/ieee754/cabs.c: File removed.
878 * sysdeps/ieee754/copysign.c: File removed.
879 * sysdeps/ieee754/frexp.c: File removed.
880 * sysdeps/ieee754/hypot.c: File removed.
881 * sysdeps/ieee754/infnan.c: File removed.
882 * sysdeps/ieee754/ldexp.c: File removed.
883 * sysdeps/ieee754/log10.c: File removed.
885 * posix/Makefile (headers): Add schedbits.h.
887 * math/Makefile (elided-routines): Add long double routines.
889 Fri Jun 7 11:02:22 1996 Miles Bader <miles@gnu.ai.mit.edu>
891 * sysdeps/mach/hurd/getpriority.c (getpriority): Use new interface
892 to __proc_getprocinfo.
894 * login/login.c (tty_name): New function.
896 (PATH_MAX): MACRO removed.
897 <stdlib.h>: New include.
899 Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
901 * sysdeps/unix/sysv/linux/Dist: Add sys/sysinfo.h, sys/mount.h,
902 sys/kdaemon.h, sys/io.h, sys/mount.h, sysctl.c.
904 * gmon/Makefile (distribute): Add profil-counter.h.
906 * sysdeps/unix/sysv/linux/alpha/Dist: New file.
908 * sysdeps/unix/Dist: Add s-proto.S.
910 * sysdeps/unix/common/mk-local_lim.c: Obsolete file removed.
912 * Make-dist (+sysdep-tsrcs): Get all syscalls.list files too.
914 * csu/Makefile (distribute): Add start.c.
916 * elf/Makefile (distribute): Add dl-machine.h.
918 * sysdeps/alpha/Dist: Add _mcount.S.
920 * sysdeps/alpha/Makefile (sysdep_routines): Append instead of
921 resetting; don't add bb_init_func.
923 * string/Makefile (routines): Add strerror_r.
924 * string/string.h (strerror_r): Use int for BUFLEN arg.
926 * Makefile (distribute): Add shlib-versions.
928 * po/Makefile (distribute): Add SYS_libc.pot.
930 * misc/Makefile (routines): Add lsearch.
932 * manual/lang.texi (Consistency Checking): Merge in assert_perror defn
933 and other changes inadvertently made to the obsolete assert.texi.
934 * manual/assert.texi: File removed.
936 * mach/mach_syscalls.c: Obsolete file removed.
937 * mach/mach_syscalls.h: Likewise.
938 * mach/mach_traps.S: Likewise.
939 * mach/msg_destroy.c: Likewise.
940 * mach/vm_page_size.c: Likewise.
942 * locale/Makefile (distribute): Add weight.h, charset.h.
944 * Makefile (distribute): Add version.h.
946 * hurd/Makefile (headers): Add hurd/ioctl.h.
947 (distribute): Add intr-rpc.d, intr-rpc.h, faultexc.defs.
949 * csu/Makefile (distribute): Add gmon-start.c.
951 * Makefile (distribute): Add config.h.in.
953 Wed Jun 5 22:06:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
955 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc
957 [case R_68K_32]: Check for resolve being null.
958 (RTLD_START): Add missing label.
960 Fri Jun 7 1996 05:29:32 Ulrich Drepper <drepper@cygnus.com>
962 * misc/lsearch.c: New file. Implementation of lfind and
965 * misc/search.h: Add prototype for functions from tsearch
966 family with __ prefix.
967 Correct prototype for lsearch: BASE parameter must not be
970 * misc/tsearch.c: prepend all global function names with __
971 and make normal names weak aliases.
973 Fri Jun 7 00:15:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
975 * Make-dist (sysdep_dirs): Skip CVS dirs.
977 Thu Jun 6 16:12:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
979 * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to
981 (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c.
982 (malloc/Makefile): Do $(make-target-directory) first.
983 * malloc/gmalloc-head.c: New file.
985 * po/Makefile (linguas.mo): Don't commit .mo files to cvs.
987 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending
988 check, deliver a pending blocked signal if its action might be to
990 * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL
991 and SIG is pending, wake up signal thread to check us.
993 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal
994 pending while blocked or stopped when the action is to ignore it.
996 Thu Jun 6 12:56:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
998 * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set
999 SS_SUSPENDED when the thread is really suspended.
1001 * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null.
1003 * Makerules (headers): Move append of $(sysdep_headers) after include
1004 of sysdep makefiles.
1006 * sysdeps/mach/hurd/errlist.c: File removed.
1008 Thu Jun 6 07:32:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
1010 * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer.
1011 (_gethtbyname2): Remove ALIAS variable.
1012 Initialize NAME field of SELF and TARGET to 0.
1013 Add SELF_NAME_SIZE static variable.
1014 Add loop to call gethostname until the space we allocated is enough.
1015 Use malloced strings instead of fixed size buffers.
1016 <stdlib.h>, <unistd.h>: New includes.
1017 * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros.
1019 * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ.
1020 (_sys_nerr): Initialize to 107.
1021 Update _HURD_ERRNOS consistency check.
1023 * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX,
1026 * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not
1029 * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE
1030 argument to __msg_sig_post_request.
1032 * hurd/hurdmalloc.c: Changes to bring in line with the hurd
1033 libthreads/malloc.c:
1034 (more_memory): Use assert_perror instead of MACH_CALL.
1035 "cthread_internals.h": Include removed.
1036 (realloc): Use LOG2_MIN_SIZE.
1037 (LOG2_MIN_SIZE): New macro.
1038 (realloc): Don't bother allocating a new block if the
1039 new size request fits in the old one and doesn't waste any space.
1040 Only free the old block if we successfully got a new one.
1041 [MCHECK] (struct header): New type.
1042 (union header): Only define if !MCHECK.
1043 (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
1044 [MCHECK] (MIN_SIZE): Add correct definition for this case.
1045 (more_memory, malloc, free, realloc): Use above macros, and add
1046 appropiate checks & frobs in MCHECK case.
1048 Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1050 * Makerules (distinfo-vars): Don't write constant line to frob sources.
1051 * Make-dist (sources): Append $(elided-routines) and $(extra-libs)
1054 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1056 * sysdeps/m68k/fpu/__math.h: Define long double versions of
1057 the inline functions.
1058 * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
1059 sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
1060 sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
1061 sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
1062 sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
1063 sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
1064 sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
1065 sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
1066 sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
1067 sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
1068 sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
1069 sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
1070 sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
1071 sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
1072 sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
1073 sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
1074 sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
1075 sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files.
1077 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
1078 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
1079 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
1080 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
1081 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
1082 sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
1083 float_type with appropriate defaults.
1085 * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
1086 sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
1087 sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
1088 sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
1089 sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
1090 sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
1091 versions with appropriate definitions to get float functions,
1092 instead of defining them directly.
1094 * sysdeps/m68k/fpu/acos.c: File removed.
1095 * sysdeps/m68k/fpu/asin.c: File removed.
1096 * sysdeps/m68k/fpu/atan.c: File removed.
1097 * sysdeps/m68k/fpu/atan2.c: File removed.
1098 * sysdeps/m68k/fpu/atanh.c: File removed.
1099 * sysdeps/m68k/fpu/ceil.c: File removed.
1100 * sysdeps/m68k/fpu/cos.c: File removed.
1101 * sysdeps/m68k/fpu/cosh.c: File removed.
1102 * sysdeps/m68k/fpu/drem.c: File removed.
1103 * sysdeps/m68k/fpu/exp.c: File removed.
1104 * sysdeps/m68k/fpu/expm1.c: File removed.
1105 * sysdeps/m68k/fpu/fabs.c: File removed.
1106 * sysdeps/m68k/fpu/fl.h: File removed.
1107 * sysdeps/m68k/fpu/floor.c: File removed.
1108 * sysdeps/m68k/fpu/fmod.c: File removed.
1109 * sysdeps/m68k/fpu/frexp.c: File removed.
1110 * sysdeps/m68k/fpu/isinf.c: File removed.
1111 * sysdeps/m68k/fpu/isinfl.c: File removed.
1112 * sysdeps/m68k/fpu/isnan.c: File removed.
1113 * sysdeps/m68k/fpu/isnanl.c: File removed.
1114 * sysdeps/m68k/fpu/ldexp.c: File removed.
1115 * sysdeps/m68k/fpu/log.c: File removed.
1116 * sysdeps/m68k/fpu/log10.c: File removed.
1117 * sysdeps/m68k/fpu/log1p.c: File removed.
1118 * sysdeps/m68k/fpu/logb.c: File removed.
1119 * sysdeps/m68k/fpu/pow.c: File removed.
1120 * sysdeps/m68k/fpu/rint.c: File removed.
1121 * sysdeps/m68k/fpu/sin.c: File removed.
1122 * sysdeps/m68k/fpu/sinh.c: File removed.
1123 * sysdeps/m68k/fpu/sqrt.c: File removed.
1124 * sysdeps/m68k/fpu/tan.c: File removed.
1125 * sysdeps/m68k/fpu/tanh.c: File removed.
1127 Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1129 * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name
1131 * sysdeps/unix/sysv/linux/select.S: File removed.
1133 * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with
1134 current kernels, generic linux version is fine.
1136 * locale/Makefile: Add vpath for %.gperf to programs.
1138 * Make-dist (+tsrcs): Variable removed.
1139 (dist): Process $^ here instead of using $(+tsrcs).
1141 * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
1142 ($(includedir)/sys/syscall.h): Target removed.
1143 (sysdep_headers): Add syscall-list.h.
1144 ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
1145 (generated): Add those.
1146 * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
1148 Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1150 * misc/sys/syscall.h: New file.
1151 * misc/Makefile (headers): Add sys/syscall.h.
1153 * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
1154 time/africa, time/asia, time/australasia, time/europe,
1155 time/northamerica, time/southamerica: Updated from ADO 96h.
1157 * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
1158 (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
1160 * Makerules (distinfo-vars): Add sysdep_headers.
1161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
1162 this instead of $(headers).
1163 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
1164 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1166 * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
1167 $(subdir); we are already there.
1169 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
1171 * mach/Machrules: Undo last change.
1172 (mach-generated): List .uh and .__h files only for $(user-interfaces),
1173 not for each .h in $(interface-headers); server-interfaces have no .uh
1176 Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
1178 * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
1179 corrsponding .defs file with without the `_server' will be used.
1181 * mach/Makefile (mach/mach_interface.defs): Renamed from
1182 mach_interface.defs.
1183 (mach/memory_object_user.defs): New variable.
1185 Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1187 * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
1189 * locale/Makefile (subdir-dirs): New variable.
1191 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1193 * Makerules (distinfo-vars): Add sysdep_routines.
1195 * mach/Machrules (include-%.defs): New canned sequence.
1196 Change all uses of `#include <$*.defs>' in cmds to use it.
1197 * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
1199 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
1200 null in all cases but R_386_COPY.
1203 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1205 * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
1206 * sysdeps/unix/bsd/ultrix4/Dist: Removed.
1207 * sysdeps/unix/sysv/sysv4/Dist: Updated.
1208 * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
1209 * sysdeps/unix/sysv/irix4/Dist: Updated.
1210 * sysdeps/unix/sysv/linux/i386/Dist: Removed.
1211 * sysdeps/unix/sysv/Dist: Updated.
1212 * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
1213 * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
1214 * sysdeps/gnu/Dist: New file.
1215 * sysdeps/alpha/Dist: Updated.
1216 * sysdeps/mach/hurd/Dist: Updated.
1218 * Make-dist [subdir-dirs]: Set a vpath for %.c.
1220 * Make-dist (README): Fix typo in cvs cmd.
1222 * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
1223 Comment out ref to nonexistent _dl_close.
1225 Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1227 * math/Makefile (libm-support, libm-calls): New variables.
1228 (libm-routines): Construct this from those.
1229 (calls): New variable.
1230 (routines): Construct this from it.
1232 * resolv/res_debug.c: Add missing #include <ctype.h>.
1234 * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
1235 * sysdeps/unix/getlogin_r.c: Likewise.
1237 * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
1239 * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
1241 * math/Makefile (long-m-routines): Define recursive variable as
1242 $(long-m-$(long-double-fcts)).
1243 (long-m-yes): Put list of routines here.
1244 (long-c-routines, long-c-yes): Likewise.
1246 * sysdeps/unix/sysv/linux/schedbits.h: File removed.
1248 * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
1249 * sysdeps/m68k/Makefile: Likewise.
1251 * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
1254 * sysdeps/mach/hurd/getlogin_r.c: New file.
1256 Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
1258 * io/Makefile (routines): Add ttyname_r.
1260 * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
1262 * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
1263 sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
1264 sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
1265 sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
1266 sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
1267 sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
1268 sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
1269 sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
1270 sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
1271 of `long double' math functions.
1273 * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
1274 in long double functions.
1276 * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
1277 sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
1278 of `long double' math functions.
1280 * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
1283 * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
1284 sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
1285 sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
1286 sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
1287 sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
1288 sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
1289 sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
1290 sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
1291 sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
1292 sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
1293 sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
1294 sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
1295 sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
1296 around long double function implementations.
1298 * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
1299 to determine length of directory entry name.
1301 * posix/Makefile (routines): Add getlogin_r.
1302 * posix/unistd.h: Add prototype for getlogin_r.
1303 * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
1304 getlogin function, specified in P1003.1c/D6. Stub version.
1305 * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
1306 ttyname. This avoids saving and restoring the old content.
1307 Also use setutent_r, getutline_r and endutent_r instead of
1308 accing UTMP file directly.
1309 * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
1310 getlogin function, specified in P1003.1c/D6.
1312 Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
1314 * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
1316 Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1318 * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
1319 _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
1321 * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
1322 * elf/link.h: Declare _dl_rtld_map.
1324 * elf/dl-lookup.c (_dl_symbol_value): New function.
1325 * elf/link.h: Declare it.
1327 * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
1329 * shlib-versions: Set libdl=2.
1331 * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
1332 elements and then scan it to fill the single malloc'd array, instead
1333 of using realloc to grow the array in the first pass. _dl_map_object
1334 may do some mallocs that break our stream of reallocs, and the minimal
1335 realloc can't handle that.
1337 * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
1338 searchlist describes the piece of the DT_NEEDED graph to be
1340 * elf/link.h: Update prototype.
1341 * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
1343 * sysdeps/m68k/dl-machine.h: Likewise.
1344 * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
1346 * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
1347 extra bits in last byte.
1348 * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
1349 putting dup elts in search list.
1351 * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
1353 * elf/dlsym.c: Don't tweak linked list. Scope array given to
1354 _dl_lookup_symbol does the right thing.
1356 * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
1357 (lib-noranlib): Depend on on $(extra-objs).
1359 * errno.h: Move __END_DECLS out of #ifdef's so it matches
1362 Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1364 * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
1365 macro. _IO_size_t is just an alias for the real size_t anyway.
1367 * elf/Makefile (libdl-routines): Add dladdr.
1368 * elf/dladdr.c: New file.
1369 * elf/dlfcn.h (Dl_info): New typedef.
1370 (dladdr): Declare it.
1372 * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
1374 * intl/l10nflist.c: Fix conditional on #include <argz.h>.
1376 * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
1377 removed. Instead, include <stdio_lim.h>.
1379 * libio/_G_config.h: New file.
1380 * libio/Makefile (headers): Add _G_config.h.
1382 * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
1384 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
1385 this macro too; current Linux kernels test that instead of
1386 _LINUX_TYPES_DONT_EXPORT.
1388 * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
1390 * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
1392 * elf/dl-deps.c: New file.
1393 * elf/Makefile (rtld-routines): Add dl-deps.
1394 * elf/link.h: Declare _dl_map_object_deps, _dl_open.
1395 * elf/rtld.c (dl_main): Use _dl_map_object_deps.
1396 * elf/dlopen.c: Use _dl_open.
1398 * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
1399 frobnication based on its value. Detach RTLD_MAP from the chain if
1400 its l_opencount is zero after loading deps.
1402 * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
1404 * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
1405 `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
1406 * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
1407 of two link_map ptrs. Search the maps in the l_searchlist of each
1408 elt that is not null.
1409 * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
1410 * elf/dl-runtime.c: Likewise.
1411 * elf/dlsym.c: Likewise.
1412 * elf/rtld.c (dl_main): Likewise.
1414 * elf/dl-minimal.c (realloc): Support realloc of the block most
1415 recently returned by the minimal malloc.
1417 Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1419 * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
1421 * intl: Updated from gettext-0.10.13.
1422 * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
1424 * signal/siggetmask.c: New file. Wrapper around sigblock with
1425 link_warning about obsolescence.
1426 * signal/Makefile (routines): Add siggetmask.
1428 * sysdeps/gnu/errlist.awk: New file, adapted from ...
1429 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
1430 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
1431 * sysdeps/gnu/Makefile: New file.
1432 (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
1434 Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1436 * manual/errno.texi (Error Codes): Add placeholder items for missing
1437 Linux/i386 errno codes, with perror text but no documentation.
1438 Some existing perror texts changed.
1440 * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
1442 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
1443 `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
1445 Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1447 * locale/programs/linereader.c (lr_open): Don't pass NULL to
1448 xstrdup; fix memory leak.
1449 (lr_close): Fix memory leak.
1451 Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1453 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
1454 for a HANDLE signal to IGNORE because the signal is blocked, clean
1455 up any pending suspension left over from a call to resume.
1457 Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1459 * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
1460 don't allow a defn resolving to that address.
1462 * elf/link.h: Update prototype and comment.
1463 * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
1464 it to elf_machine_relplt.
1465 * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
1466 RELOC_ADDR and pass it through to _dl_lookup_symbol.
1467 * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
1468 instead of calling it ourselves and passing its results.
1469 (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
1470 * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
1471 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
1472 arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
1473 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1474 * sysdeps/stub/dl-machine.h: Likewise.
1476 Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1478 * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
1480 * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
1481 (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
1482 (RTLD_GLOBAL): New macro.
1483 (dlopen): Take arg of type int instead of dl_open_mode.
1484 * elf/dlopen.c: Likewise.
1486 * math/math.h (_Mldbl): New macro, either produces L suffix or not.
1487 (M_*): Use it for these constants.
1489 * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
1490 Reject SHN_UNDEF defns iff NOPLT is nonzero.
1491 * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
1492 * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
1493 * elf/dlsym.c (dlsym): Pass 0.
1494 * elf/rtld.c (dl_main): Likewise.
1495 * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
1496 replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
1497 * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
1498 Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
1499 * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
1500 * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
1501 * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
1503 * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
1505 * sysdeps/generic/gnu/types.h (__clock_t): New type.
1507 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
1509 * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
1511 * time/time.h (clock_t): Include <gnu/types.h> and define using
1514 * time/Makefile (tests): Add test-tz.
1516 * time/test-tz.c: New test.
1518 * time/clocktest.c: Rewrite to test more meaningfully.
1520 * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
1521 create_module, delete_module, get_kernel_syms, init_module,
1524 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
1525 instead of SYMLOOP_MAX, which is nowhere to be found.
1527 * sysdeps/unix/sysv/linux/sys/msq_buf.h,
1528 sysdeps/unix/sysv/linux/sys/sem_buf.h,
1529 sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
1530 control ops and datastructures.
1532 * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
1533 I/O related functions.
1535 * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
1536 daemon related functions/operations.
1538 * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
1539 logging related functions/operations.
1541 * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
1542 module related functions/operations.
1544 * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
1545 for non-Alpha based Linux systems.
1547 * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
1549 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
1550 sys/io.h, sys/klog.h, and sys/kdaemon.h.
1552 * sysdeps/unix/sysdep.h (END): Define empty END macro for
1553 platforms that don't need some sort of end directive at the
1556 * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
1557 syscall wrapper to allow correct generation of debugging
1560 * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
1561 directive for both ELF and ECOFF.
1562 (ret): Delete macro. It was a dangerous macro and unnecessary
1563 since the Alpha assemblers recognizes "ret" as a macro themselves.
1565 * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
1566 ut_session to guarantee long alignment. This is important for
1567 Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
1568 This will all get cleaned up as programs start to use ut_tv
1571 * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
1573 * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
1576 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
1577 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
1578 sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
1579 sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
1580 sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
1581 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
1582 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1583 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1584 sysdeps/unix/sysv/linux/alpha/llseek.S,
1585 sysdeps/unix/sysv/linux/alpha/pipe.S,
1586 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
1587 sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
1590 * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
1591 function by having it contain a dummy function call.
1593 * configure.in (config_machine): Don't make ELF the default for
1594 Linux/Alpha just yet (use --with-elf instead).
1595 (.init/.fini check): Generate .text to ensure function start and
1596 end are in same section.
1598 * sysdeps/unix/bsd/osf/alpha/brk.S,
1599 sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
1600 break value, not just the low 32 bits to accomodate large
1603 Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
1605 * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
1606 dynamically resolve _end for initializing __curbrk, support the
1609 * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
1611 * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
1613 Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
1615 * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
1616 stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
1618 Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
1620 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
1621 sys/klog.h, and sys/kdaemon.h.
1623 * sysdeps/unix/sysv/linux/sys/io.h: New file.
1624 * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
1625 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
1627 * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
1628 dangerous and unnecessary since both OSF/1 as and gas define "ret"
1629 as a pseudo-instruction.
1631 Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1633 * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
1634 them. Bug found by David Mosberger-Tang.
1636 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
1639 * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
1640 to work around Make bug when A contains var ref.
1642 Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1644 * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
1646 * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
1647 strong names and [gs]etpgid as weak aliases.
1649 Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1651 * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
1653 * po/header.pot: Replace with exact boilerplate pinard dictates.
1655 * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
1656 errno and the check that jumped to it.
1658 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
1660 Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
1662 * FAQ: Document need of gperf program for developers.
1664 * elf/elf.h: Fix typos in comments.
1666 * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
1667 prototypes for `ctermid' and `cuserid'.
1669 * locale/programs/locale.c: Switch to user selected locale
1670 before printing variables.
1672 * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
1673 and long-c-routines. Only if the `long double' data type is
1674 available we need to compile the functions.
1675 (libm-routines): Add $(long-m-routines).
1676 (routines): Remove isinfl, isnanl. Use new file s_isinfl and
1677 s_isnanl instead if `long double' is available.
1679 * math/math.h: Include <mathcalls.h> again to define `long double'
1682 * math/math_private.h: Define data types, prototypes and access
1683 macros for `long double'.
1685 * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
1686 [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
1687 calls __strto{,u}q_internal.
1689 * stdlib/strfmon.c: Replace PTR by `void *'.
1691 * stdlib/strtoq.c: Define strtoll as weak alias.
1692 * stdlib/strtouq.c: Define strtoull as weak alias.
1694 * string/tester.c: Correct `strsep' test.
1696 * sysdeps/generic/strsep.c: Make compatible with BSD version.
1697 Trailing characters of skip set are not skipped. In this case
1698 empty tokens are returned.
1700 * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
1701 sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
1702 sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
1703 now use the versions part of libm.
1705 * sysdeps/i386/strsep.S: Removed. Generic C version is of
1707 * sysdeps/i386/strtok.S: Remove support for `strsep'.
1709 * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
1710 sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
1711 sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
1712 sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
1713 sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
1714 New i387 specific math functions implementing `long double'
1717 * sysdeps/libm-ieee754/s_ceill.c,
1718 sysdeps/libm-ieee754/s_copysignl.c,
1719 sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
1720 sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
1721 sysdeps/libm-ieee754/s_isnanl.c,
1722 sysdeps/libm-ieee754/s_nextafterl.c,
1723 sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
1724 sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
1725 versions of libm functions.
1727 * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
1730 * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
1731 sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
1732 handling of local variables. The old version created a stack
1733 frame but stored the values outside.
1735 * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
1736 [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
1738 Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1740 * login/pututline_r.c: Include sys/stat.h. Fix typos.
1742 * version.h (VERSION): Set to 1.90.
1744 * Makerules (distinfo-vars): Write extra-libs and *-routines for each
1746 * MakeTAGS (sources): Add those sources.
1748 * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
1750 Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
1752 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
1755 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
1758 Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1760 * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
1761 token instead of it being implicitly skipped.
1763 * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
1764 Must operate on top of fp reg stack, not second from top.
1766 * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
1767 (others): Instead, make this depend on it.
1769 Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
1771 * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
1772 character in UTF-8 encoding has that many bytes.
1774 * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
1775 * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
1776 * locale/Makefile (routines): Add mb_cur_max.
1777 * locale/mb_cur_max.c: New file. This function gets called
1778 when the macro MB_CUR_MAX is used.
1779 * locale/C-ctype.c: Initialize new mb_cur_max field.
1780 * locale/localeinfo.h: Change magic value because of incompatible
1782 * locale/programs/ld-ctype.c: Determine value of mb_cur_max
1783 according to current character set and write it out with the rest.
1784 * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
1785 according to currently used locale for category LC_CTYPE by
1786 calling the function __ctype_get_mb_cur_max.
1788 Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
1790 * FAQ: Fix some typos.
1791 Tell that for Linux the kernel header files are necessary.
1793 * PROJECTS: New file. List of open jobs for glibc.
1794 * Makefile (distribute): Add PROJECTS.
1796 * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
1797 * crypt/crypt.h: Header for crypt functions.
1799 * elf/elf.h: Add some new constants from recent Cygnus ELF
1802 * login/getutid_r.c: Test for correct type.
1803 Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
1804 _HAVE_UT_ID resp. are defined.
1805 Make really compliant with specification.
1807 * login/getutline_r.c, login/pututline_r.c: Don't depend on
1808 ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
1810 Make really compliant with specification.
1812 * login/setutent_r.c: Don't depend on ut_type and ut_id unless
1813 _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
1815 * login/login.c, login/logout.c, login/logwtmp.c: Complete
1816 rewrite. Now based on getut*/setut* functions.
1818 * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
1819 This prevented using this file in other GNU packages.
1821 * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
1822 and _HAVE_UT_TV because struct utmp has these members.
1824 * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
1826 * utmp.h: New file. Wrapper around login/utmp.h.
1828 Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1830 * elf/dl-error.c (struct catch): New type.
1831 (catch): New static variable, struct catch *.
1832 (catch_env, signalled_errstring, signalled_objname): Variables removed.
1833 (_dl_signal_error): If CATCH is non-null, set its errstring and
1834 objname members and jump to CATCH->env. If it is null, call
1835 _dl_sysdep_fatal with a standard message.
1836 * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
1837 No longer use _dl_catch_error.
1839 * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
1842 * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
1843 setting %ecx to 2nd syscall arg: we have pushed nothing, so function
1844 args are found at 4(%esp), not 8(%esp).
1846 Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1848 * Makefile ($(includedir)/stubs.h): Add missing backslash.
1850 * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
1853 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
1856 * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
1858 * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
1861 * sysdeps/unix/sysv/linux/termio.h: New file.
1862 * sysdeps/unix/sysv/linux/Dist: Add it.
1864 * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
1865 kernel header <asm/termios.h>.
1867 * misc/Makefile (headers): Add ioctl-types.h.
1868 * sysdeps/generic/ioctl-types.h: New file.
1869 * misc/sys/ioctl.h: Include <ioctl-types.h>.
1870 (struct tchars, struct ltchars, struct sgttyb, struct winsize,
1871 struct ttysize): Types moved there.
1873 * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
1876 * time/Makefile (z.% rule): Generate generic zone%/ rule after
1877 zone%/right/ and zone%/posix/ rules so they match first.
1879 Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1881 * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
1882 _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
1884 * time/Makefile (tzcompile): Add missing backslash.
1886 * stdlib/ldiv.c: Deansideclized.
1888 * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
1889 [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
1890 stddef.h doesn't define it.
1891 * wcsmbs/wchar.h: Likewise.
1892 * stdlib/strtod.c: Likewise.
1894 * wcsmbs/wcstok.c: Fix argument name typo.
1896 Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
1898 * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
1901 * string/Makefile (tester-ENV): New variable to suppress message
1902 translation in test.
1904 * string/tester.c: Add tests for strtok_r and strsep.
1906 * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
1907 <-> 32 bit operand conflicts.
1909 * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
1910 to produce strsep function.
1911 * sysdeps/i386/strtok.S: Optimized implementation of strtok
1913 * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
1914 to produce strtok_r function.
1916 * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
1917 Corrected example in comment.
1919 * string/Makefile (routines): Add strtok_r.
1920 * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
1922 * string/string.h: Add prototype for strtok_r.
1923 * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
1926 Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1928 * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
1929 first and fall back to 1003.1 syntax only if it fails.
1931 * time/Makefile (install-others): Also install posix/ZONE and
1932 right/ZONE for each ZONE in $(zonenames).
1933 (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
1934 the difference begin leapseconds vs /dev/null as 3rd dep. For
1935 original ZONE targets use $(leapseconds), to be set in Makeconfig.
1936 (target-zone-flavor): New variable.
1937 (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
1938 * Makeconfig (leapseconds): New variable.
1940 * mach/Machrules (%.udeps rule): Depend on Machrules.
1941 Emit deps for .uh and .__h files.
1942 (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
1945 Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
1947 * stdlib/Makefile (routines): Add llabs, lldiv.
1948 * stdlib/llabs.c: New file. Implementation of return
1949 absolute value of long long argument.
1950 * stdlib/lldiv.c: New file. Implementation of division with remainder
1951 of long long argument.
1952 * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
1954 Define prototypes for lldiv and llabs functions.
1956 * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
1958 * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
1959 really the type for a single wide character.
1961 * string/strxfrm.c (print_val): Define separate version for
1962 use as wcsxfrm. Here we don't need UTF8 encoding.
1964 * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
1965 in <stddef.h>. Use this value and only for older gcc version
1967 (uwchar_t): Remove definition.
1969 * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
1970 wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
1971 type. wint_t is intended for this.
1973 Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1975 * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
1976 quiet -ansi -pedantic.
1977 * sysdeps/unix/common/direntry.h: Likewise.
1979 * login/Makefile (headers): Add lastlog.h.
1980 * login/lastlog.h: New file.
1982 * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
1983 * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
1984 with #ifdef __USE_REENTRANT.
1986 * features.h (__GNU_LIBRARY__): Set to 6.
1987 [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
1988 _SVID_SOURCE): Make sure they are all defined.
1990 * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
1991 <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
1992 include <linux/types.h>.
1994 * resource/sys/resource.h: Remove trailing commas from enums.
1996 Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1998 * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
1999 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2001 * login/getutline_r.c: Include string.h.
2003 * Rules (static-only-routines): Restore the rule to make these .so's
2006 * login/pututline_r.c: Use struct assignment instead of memcpy.
2008 * login/getutline_r.c: Use strncmp instead of comparing two pointers
2009 that will only be equal if you are overwriting the data and screwing
2012 Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
2014 * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
2016 Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
2018 * FAQ: Add answer for 100% source code compatibility to Linux
2019 libc by David Mosberger-Tang.
2021 Update from bind-4.9.4-T3B.
2022 * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
2023 inet_nsap_addr, and inet_nsap_ntoa.
2024 * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
2025 remove fourth argument to inet_pton and correct handling of
2027 * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
2028 * resolv/inet_pton.c: Remove fourth argument.
2029 * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
2030 inet_nsap_ntoa. Now in <arpa/inet.h>.
2032 * stdlib/gmp-impl.h: Add prototypes for internal functions.
2034 Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2036 * Rules (subdir_install): Remove dep on sor-$(subdir).
2037 (static-only-routines): Removed variable and associated rules.
2039 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
2041 * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
2044 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
2046 * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
2048 * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
2050 * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
2053 * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
2054 __sigdelset): Add declaration to keep ANSI compilers quiet.
2056 * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
2057 __cabs_complex member names in call to __hypot().
2059 * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
2061 * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
2062 name collision with math library.
2064 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
2065 sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
2066 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
2069 * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
2070 to simplify declaration of leaf functions.
2072 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
2073 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
2074 sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
2075 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
2076 sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
2077 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
2078 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
2079 sysdeps/unix/sysv/linux/alpha/pipe.S,
2080 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
2081 sysdeps/unix/sysv/linux/alpha/syscall.S,
2082 sysdeps/unix/sysv/linux/alpha/start.S,
2083 sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
2084 sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
2085 framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
2087 * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
2090 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
2093 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
2095 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
2096 dynamic recognition of platform type.
2097 (_bus_base): New function.
2099 * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
2101 * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
2102 they produce ugly warnings by gcc.
2104 * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
2106 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
2108 * sysdeps/alpha/setjmp.S: Must establish global pointer before
2109 address of __sigsetjmp_aux can be loaded.
2111 Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2113 * stdlib/canonicalize.c: New file.
2114 * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
2115 * stdlib/Makefile (routines): Add canonicalize.
2117 * posix/unistd.h: Declare __canonicalize_directory_name_internal.
2119 Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
2121 * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
2122 same #if condition as in the other db files.
2124 * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
2125 bindtextdom.c, finddomain.c, and localealias.c.
2127 * intl/dcgettext.c: Don't define prototype for getcwd() when
2130 * libio/cleanup.c: Add prototype for _IO_register_cleanup.
2132 * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
2133 define _POSIX_SOURCE unconditionally.
2135 * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
2138 * libio/fileops.c (_IO_file_close_it): Don't sync file, call
2139 flush instead. This relaxes the rules from POSIX.1 about
2140 changing the active handle a bit.
2142 * libio/iofopncook.c (struct _IO_cookie_file): Move definition
2144 Add prototypes for local functions to prevent warnings.
2146 * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
2147 _IO_dup2 to contain complete parameter list.
2149 * libio/libio.h: Add definition of struct _IO_cookie_file.
2151 * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
2154 * libio/memstream.c: Include <stdio.h>.
2156 * libio/stdio.h: Add prototypes for fopencookie,
2157 __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
2159 * libio/strops.c: Avoid useless expression in `for' initializer.
2161 * locale/findlocale.c: Add some casts to prevent warnings.
2163 * locale/programs/locfile.c (write_locale_data): Don't use
2164 double `/' in locale binary file.
2166 * posix/unistd.h: Remove prototype for `reboot'.
2168 Update from bind-4.9.4-T1A.
2169 * resolv/Makefile (routines): Add inet_ntop and inet_pton.
2170 * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
2171 * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
2172 resolv/res_debug.c, resolv/res_init.c
2174 * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
2176 * resolv/resolv.h: Add RES_USE_INET6 flag.
2177 (__dn_isvalid): Renamed to __res_dnok.
2178 Add prototypes for __res_ownok and __res_mailok.
2180 * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
2182 * stdio-common/getline.c, stdio-common/vfscanf.c,
2183 sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
2185 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
2186 (sysdep_routines): Add s_reboot.
2187 (install-others): Add $(includedir)/sys/syscall.h.
2188 New rule for $(includedir)/sys/syscall.h to produce from
2191 * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
2192 argument function call 3 argument system call.
2194 * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
2195 definition for reboot function.
2197 * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
2200 * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
2201 reboot syscall to __syscall_reboot.
2203 * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
2204 __USE_GNU, not USE_GNU.
2206 Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2208 * locale/programs/charset.c, locale/programs/ld-collate.c:
2209 Add casts to prevent warnings on 64-bit machines.
2211 * locale/programs/ld-monetary.c: Don't do unnecessary tests for
2212 int_frac_digits and frac_digits which only produce warnings.
2214 Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2216 * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
2217 * resolv/inet_addr.c: Likewise.
2219 * resolv/Makefile (distribute): Add res_hconf.h
2220 (routines): Add res_hconf.
2222 * resolv/gethnamaddr.c: Add support for /etc/host.conf.
2224 * resolv/res_init.c: Initialize /etc/host.conf reader.
2226 * resolv/res_hconf.c, resolv/res_hconf.h: New files.
2227 Implementation of reading /etc/host.conf.
2229 Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2231 * Rules (%.out rules): Prepend $($*-ENV) to the command.
2233 * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
2236 Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
2238 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
2239 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
2241 Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2243 * sysdeps/mach/hurd/getcwd.c
2244 (_hurd_canonicalize_directory_name_internal): New function, broken out
2247 (__canonicalize_directory_name_internal): New function using it.
2249 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
2250 function, broken out of __getcwd.
2253 Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
2255 * string/argz-create.c (__argz_create): Correctly calculate length.
2257 * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
2258 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
2260 Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2262 * posix/glob.c [VMS]: Don't include <pwd.h>.
2263 [HAVE_VMSDIR_H]: Include "vmsdir.h".
2264 (glob) [VMS]: Don't grok ~.
2266 Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
2268 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
2269 back from argz_extract.
2271 Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2273 * configure.in: Remove checks for objdump, objcopy, and awk.
2274 * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
2275 * Makefile (distribute): Remove extract-dynsym.
2276 * extract-dynsym: File removed.
2278 Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2280 * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
2282 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
2284 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
2285 macros if they are not available.
2286 (WEAKNAME): New macro to declare argument as weak.
2287 Define function with __ prefix and add normal name as weak alias.
2289 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
2290 these macros if not already available based on R_OK, W_OK, and
2293 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2295 * misc/sys/syslog.h (__need___va_list): Define this instead of
2296 __need_va_list before including <stdarg.h>.
2298 * Makerules (o-iterator): Use $(object-suffixes-left) instead
2299 of $(object-suffixes) to produce repetitions; this is used for other
2300 lists than just that one.
2301 [versioned]: Use $(o-iterator) properly.
2303 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
2304 * sysdeps/mach/hurd/Implies: Likewise.
2306 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
2308 * login/Makefile: New file. This directory contains functions
2309 for user administration.
2310 * Makefile (subdirs): Add login.
2312 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
2313 (extra-libs, libutil-routines): Ditto.
2314 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
2315 misc/utmp.h: Moved to misc/.
2316 * login/login.c, login/login_tty.c, login/logout.c,
2317 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
2319 * login/utmp.h: Split file. Definitions of data structures
2320 and constants are now in the system dependent utmpbits.h file.
2322 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
2323 login/endutent.c, login/getutent_r.c, login/getutent.c,
2324 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
2325 login/getutline.c, login/pututline_r.c, login/pututline.c:
2326 New files. Routines to handle utmp-style files.
2328 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
2329 specific definitions of utmp data structures and constants.
2331 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
2333 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
2334 definitions of utmp data structures and constants.
2336 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
2338 * locale/C-monetary.c: Default value for mon_decimal_point should be
2341 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
2342 Add `extra' flag. Currently used in __printf_fp.
2344 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
2345 `guess_grouping' and extend visibility to extern. This function
2346 is now used in `strfmon'.
2347 (__printf_fp): Recognize new bit flag in info struct. This
2348 triggers to use the grouping information and decimal point from
2349 the LC_MONETARY category instead of the LC_NUMERIC category.
2351 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
2352 `complicated' loop we must not use the varargs because the args
2353 are already available in the ARGS_VALUE array.
2355 * stdlib/Makefile (headers): Add monetary.h.
2356 (routines): Add strfmon.
2357 * stdlib/monetary.h: New file. Header for strfmon function.
2358 * stdlib/strfmon.c: New file. Implement strfmon function to print
2359 monetary amounts according to current locale's rules.
2361 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
2362 now (>= Linux-1.3.100) called <asm/vm86.h>.
2364 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2366 * Makerules [versioned]: Make symlinks in the build directory, because
2367 the versioned names might be referenced by a DT_NEEDED in another
2370 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2372 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
2374 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
2376 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
2377 Add sys/acct.h and sys/sysctl.h.
2379 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2381 * sysdeps/generic/strrchr.c: Deansideclized.
2383 * elf/Makefile (ldd): Depend on Makefile.
2384 Find ld.so in $(slibdir) instead of $(libdir).
2386 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
2387 %esi'; gas misassembles the latter into `testb $3, %dh'.
2389 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
2391 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2393 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
2396 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
2398 * time/Makefile (routines): Add strptime.
2399 * time/time.h: Add prototype for strptime.
2400 * time/strptime.c: New file. Implementation according to XPG4.
2402 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2404 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
2405 really stupid things #ifdef lint.
2407 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
2408 struct member name: sc_eip -> eip.
2410 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2412 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
2413 output redirect outside it.
2415 * elf/Makefile (subdir_lib): Depend on ld.so.
2417 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
2419 * stdio-common/vfprintf.c: Correct handling of unsigned short
2422 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2424 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
2426 * Makerules [install-lib.a]: Find them there.
2428 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
2430 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
2432 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
2434 * configure.in (--with-fp): Note in help string that it's the default.
2436 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
2437 instead of unsigned int for map_collection_max and map_collection_act.
2439 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
2440 Macros removed; they are in <stdio.h>.
2441 * stdio-common/vfscanf.c: Likewise.
2443 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
2444 (glob): Remove bogus & in call to globfree.
2445 [_AMIGA]: Use AmigaDOS file name conventions.
2447 * time/Makefile (zonenames): Target removed.
2448 (extra-objs): Remove it from here.
2449 Include the z.* files directly instead of including zonenames; use
2450 `-include' to not complain before they exist.
2452 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
2453 $(common-objpfx) instead of $(objpfx).
2455 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
2458 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
2459 instead of $(common-objpfx).
2461 * Makeconfig (sysdep-configures): New variable.
2462 (config.status): Depend on $(sysdep-configures).
2464 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2466 * sysdeps/unix/sysv/linux/profil.c: New file.
2468 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2470 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
2472 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2474 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
2476 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2478 * string/envz.c: Fix uses of unsigned to size_t.
2480 * Makerules ($(libdir)/libc.so): Make the file an ld script.
2482 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
2484 * sysdeps/mach/configure.in: File removed.
2485 * sysdeps/mach/configure: File removed.
2487 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
2488 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
2489 installed .defs file.
2491 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
2492 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
2493 * stdio-common/vfscanf.c: Likewise.
2495 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2497 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
2499 * mach/Machrules (%.ir rule): Don't produce deps for imports.
2501 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
2503 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
2504 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
2505 these targets and install dep on $(libdir)/libc.so with this.
2507 * hurd/Makefile: Removed all rules and defns for using code from Hurd
2508 sources and installing headers from there.
2510 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
2511 set it. In Mach error matching clause, only match if FILENAME is
2512 still the same value.
2514 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
2515 $(mach-srcdir) no longer exists.
2516 (hurd-srcdir): Variable removed.
2517 (includes): Don't append -I$(hurd-srcdir).
2518 (last-includes): Variable removed.
2519 Remove vpath specs using $(hurd-srcdir).
2520 (mach-errno-h): New canned sequence.
2521 ($(common-objpfx)errnos.d): New target, generated included makefile
2522 to determine absolute file names of Mach headers to search for error
2523 codes and set variable mach-errnos-deps.
2524 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
2525 of prior explicit list.
2526 (generated): Add errnos.d, stamp-errnos.
2528 * mach/Machrules (some-if-rtn): New variable and target; compute deps
2529 of some if routine and make all if routines depend on that .d file
2530 instead of static list of .h files.
2532 * mach/Makefile (mach/mach_interface.defs,
2533 mach/memory_object_user.defs): Targets removed.
2534 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
2535 directly on Mach sources.
2537 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
2538 (includes): Don't append -I$(mach-srcdir).
2539 Remove vpath specs using $(mach-srcdir).
2541 * hurd/Makefile (server-interfaces): Add faultexc.
2542 (sig): Remove it from here.
2543 (fault%.[ch]): Rule removed.
2544 (MIGFLAGS-faultexc): New variable.
2546 * hurd/faultexc.defs: New file.
2548 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
2549 (%_server.[ch] rule): Likewise.
2551 * mach/Makefile: Removed all rules and defns for using code from Mach
2552 sources and installing headers from there.
2554 * Makeconfig [$(build-shared)=yes] (link-libc): Append
2555 $(libc.so-version) to libc.so.
2557 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2559 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
2560 (%.udeps): New rule parallel to that one, generating included
2561 makefiles with -M output from `#include <%.defs>'.
2563 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
2565 * Makefile (distribute): Add FAQ.
2566 * FAQ: New file contributed by drepper.
2568 * time/Makefile (headers): Add timebits.h.
2569 * sysdeps/unix/sysv/linux/timebits.h: New file.
2570 * sysdeps/stub/timebits.h: New file.
2571 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
2572 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
2574 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2576 * string/argz-create.c (__argz_create): Restore const keyword to
2578 * string/argz.h (__argz_create, argz_create): Restore const
2580 * string/envz.c (envz_get): Don't declare ENTRY const.
2582 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
2584 * string/argz.h (argz_create): Fix param type.
2585 * string/argz-create.c (__argz_create): Remove const from param type.
2586 * string/envz.c (envz_get): Remove const from return type.
2588 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2590 * string/argz.h (__argz_create, argz_create): Omit const keyword
2591 from declaration of ARGV.
2592 * string/envz.h (envz_get): Omit const from declaration of return
2595 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2597 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
2599 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
2600 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
2601 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
2603 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
2604 CLNT_DESTROY already has.
2605 (pmap_unset): Likewise.
2606 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
2607 * sunrpc/pm_getport.c (pmap_getport): Likewise.
2608 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2609 * sunrpc/portmap.c (callit): Likewise.
2611 * Makerules (versioned): Strip whitespace.
2613 * Rules (static-only-routines rule): Remove spurious space in dep.
2615 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
2616 Cast string constants to char *.
2618 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
2619 New files, AmigaDOS support from Aaron Digulla.
2620 * posix/Makefile (glob.tar): Add AmigaDOS support files.
2622 * sysdeps/unix/sysv/linux/net/if.h: New file.
2623 * sysdeps/unix/sysv/linux/Dist: Add it.
2624 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
2627 * Makeconfig (link-libc): Add libc.a after libc.so in link.
2629 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
2630 (empty.o): New target.
2631 (generated): Add empty.c, empty.o.
2633 * resolv: Code updated from BIND-4.9.3P2C3.
2635 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
2637 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2639 * extract-dynsym: New file.
2640 * Makefile (distribute): Add it.
2641 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
2642 [! libc.so-version]: Clear static-only-routines.
2643 ($(common-objpfx)sor-$(subdir)): New target.
2644 [static-only-routines]: New static pattern rule for these .so's.
2645 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
2646 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
2647 New targets replace it.
2648 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
2650 * io/Makefile (static-only-routines): New variable.
2651 * configure.in: Check for tools objdump and objcopy, and for awk.
2652 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
2654 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
2656 * locale/programs/config.h: Remove definition of wint_t.
2658 * locale/programs/ld-collate.c: Include <wchar.h> instead of
2661 * manual/time.texi: Add some more description for %U and %W
2662 format of strftime. Describe new format %V of strftime.
2664 * resolv/gethnamaddr.c: Prevent warning by preventing variable
2666 * stdio-common/_itoa.c: Ditto.
2668 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
2670 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
2671 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
2672 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
2673 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
2674 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
2675 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
2676 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
2677 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
2678 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
2679 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
2680 stdio-common/vfscanf.c: Prepare for reentrant libio.
2682 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
2683 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
2684 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
2685 Used in reentrant libio.
2687 * misc/getusershell.c: Prevent warnings.
2689 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2691 * Makerules (install-lib.so rules): Undouble $s in target and dep
2692 parts of o-iterator-doit defns.
2693 (unversioned libraries install rule): Fix pattern.
2695 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
2697 ($(includedir)/machine): Likewise.
2699 * config.make.in (base-machine): New variable.
2700 * configure.in (machine): Move case stmt to set $machine out of sysdep
2701 dirs AC_CACHE_CHECK.
2702 (base_machine): New variable, set in that switch and AC_SUBST'd.
2704 * Makerules (stub-$(subdir)): Use file name in directory as output,
2707 * configure.in (MSGFMT): Use : if none found.
2709 * po/Makefile: Include ../Rules instead of ../Makerules.
2711 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2713 * po/Makefile: New file.
2714 * Makefile (subdirs): Add po.
2716 * configure.in: Check for msgfmt.
2717 * config.make.in (MSGFMT): New variable.
2719 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
2721 * misc/Makefile (routines): Add swapoff.
2723 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
2725 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
2728 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2730 * string/argz-extract.c: Remove const from decl.
2731 * string/argz.h: Here too.
2733 * Makeconfig (version.mk): Fix regexp in sed cmd.
2734 Depend on $(..)Makeconfig.
2736 * GMP code updated from gmp-2.0 release.
2737 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
2738 * sysdeps/generic/add_1.c: File removed.
2739 * stdlib/strtod.c: mp_limb is now mp_limb_t.
2740 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
2741 * stdio-common/_itoa.c: Likewise.
2742 * stdio-common/printf_fp.c: Likewise.
2743 Don't include ansidecl.h.
2745 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
2747 * shlib-versions: New file.
2748 * Makerules (soversions.mk): New target, include file generated from
2749 shlib-versions. Moved shared library rules before installation rules.
2750 Rewrote shared library installation rules for versioned libraries.
2751 * math/Makefile (libm.so-version): Variable removed.
2753 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
2755 * hurd/report-wait.c (_S_msg_describe_ports): New function.
2757 * configure.in: Add AC_PROG_LN_S check.
2758 * config.make.in (LN_S): New variable.
2760 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
2762 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
2763 not know about weak aliases now and optimizes necessary `if'
2766 * posix/unistd.h: Add swapoff prototype.
2768 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
2770 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
2771 for _PC_PATH_MAX from fstatfs function if available.
2773 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
2774 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
2775 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
2776 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
2778 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
2780 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
2783 * sysdeps/unix/syscalls.list: Add swapoff.
2785 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
2787 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2788 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
2789 sysinfo, and uselib.
2790 (headers): Add sys/sysinfo.h.
2792 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
2794 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
2795 (sysdep_routines): Add ioperm, iopl, and vm86.
2796 (headers): Add sys/perm.h and sys/vm86.h.
2798 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
2799 prototypes for iopl and ioperm.
2801 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
2804 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
2807 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
2808 prototypes for acct function.
2810 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
2811 file with prototypes.
2813 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
2814 prototype for sysinfo function.
2816 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
2817 llseek, setfsgid, setfsuid, sysinfo, and uselib.
2819 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
2820 posix/sysconf.c now only handle cases different to that
2823 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
2825 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
2826 (all references changed). Now exported.
2828 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
2829 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
2830 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
2831 instead of struct data.
2832 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
2833 occurences of `wrap' and `wrapmargin' to `wmargin'.
2834 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
2835 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
2836 line_wrap_set_wmargin, line_wrap_point): New functions.
2837 * stdio/linewrap.h: New file.
2838 * stdio/Makefile (headers): Add linewrap.h.
2840 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2842 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
2844 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
2846 * sysdeps/unix/sysv/linux/schedbits.h: New file.
2848 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
2850 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
2851 (lwoutput): Adjust uses acordingly.
2853 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2855 * sysdeps/mach/hurd/fdatasync.c: New file.
2856 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
2858 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
2859 * sysdeps/mach/hurd/symlink.c: Likewise.
2860 * sysdeps/mach/hurd/link.c: Likewise.
2861 * sysdeps/mach/hurd/bind.c: Likewise.
2862 * hurd/hurdsig.c (write_corefile): Likewise.
2864 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
2866 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
2868 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
2870 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
2872 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
2874 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
2876 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
2878 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
2879 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
2880 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2882 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
2884 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
2886 * hurd/hurdsig.c (write_corefile): Take const struct
2887 hurd_signal_detail * arg. Pass all details to crash_dump_task.
2888 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
2889 (_hurd_internal_post_signal: suspend): Pass code and error to
2892 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
2893 proc_getprocinfo by reference.
2895 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
2897 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
2899 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
2900 * sysdeps/stub/sched_sets.c: Likewise.
2901 * sysdeps/stub/sched_setp.c: Likewise.
2902 * sysdeps/stub/sched_rr_gi.c: Likewise.
2903 * sysdeps/stub/sched_gets.c: Likewise.
2905 * hurd/hurdsig.c: Use struct hurd_signal_detail.
2906 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
2907 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
2909 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2911 * stdio/linewrap.c: New file.
2912 * stdio/Makefile (routines): Add linewrap.
2913 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
2916 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
2918 * time/strftime.c (week): Add third parameter telling how
2919 many days must be in new year so that it is called week 1.
2920 (Following ISO 8601).
2921 Correct computation for %U and %V formats when day was first
2923 (strftime): Implement %V format according to Spec1170.
2925 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2927 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
2929 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2931 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
2932 prototype of `preempter' elt to use struct hurd_signal_detail.
2934 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
2935 (struct hurd_sigstate): Make `pending_data' member an array of that.
2936 Use the new type in several decls.
2938 * locale/setlocale.c (_nl_C_name): Variable removed.
2939 * locale/C_name.c: New file.
2940 (_nl_C_name): Put it here instead.
2941 * locale/Makefile (aux): Add C_name.
2943 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
2944 auth_user_authenticate rpc.
2945 (open): Avoid using strtol in digit conversion for "fd/N" magic.
2946 (_dl_sysdep_start): Likewise for memobj name in magic switches.
2948 * elf/Makefile (reloc-link): New variable.
2949 (dl-allobjs.so): New target, link together $(rtld-routines).
2950 (librtld.so): Depend on that instead of the rtld components.
2951 (generated): Add dl-allobjs.so.
2953 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
2956 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
2957 instead of _hurd_split_args.
2958 (_S_msg_*_exec_flags): Functions removed.
2959 (_S_msg_startup_dosync): Stub removed.
2961 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2963 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
2964 EXEC_TRACED bit in _hurd_exec_flags.
2965 Pass sigcode arg in msg_sig_post_untraced rpc.
2967 * sysdeps/mach/hurd/access.c: Don't pass io port in
2968 auth_user_authenticate rpc.
2970 * posix/sched.h: Fix typos.
2972 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
2973 Clear _hurdsig_traced instead of EXEC_TRACED.
2975 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
2977 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
2978 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
2979 * wcsmbs/wcstod.c: Likewise.
2980 * wcsmbs/wcstold.c: Likewise.
2982 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
2984 * string/envz.c (envz_entry): Use const.
2985 (envz_get, envz_remove): Likewise.
2986 (envz_entry): Return char *, not const char *.
2988 * string/envz.h: Fix decl.
2990 * string/argz-create.c: Use const in prototype.
2991 * string/argz-next.c: Likewise.
2993 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2995 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
2996 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
2997 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
2998 * sysdeps/mach/hurd/kill.c: Likewise.
3000 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
3001 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
3002 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
3003 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
3005 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3006 * sysdeps/mach/hurd/sigaction.c: Likewise.
3008 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
3009 change meaninglessly.
3011 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
3012 flag with a spin lock.
3013 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
3014 get it. No need to take SS->lock at all.
3015 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
3016 instead of clearing the old flag member.
3017 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
3018 test the critical section state.
3020 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
3022 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
3024 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
3025 instead of testing (_hurd_exec_flags & EXEC_TRACED).
3026 (_S_msg_sig_post): Take sigcode arg and pass it through.
3027 (_S_msg_sig_post_untraced): Likewise.
3028 (reauth_proc): Don't pass proc port in auth_user_authenticate.
3030 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
3031 auth_user_authenticate RPCs, just the one-off rendezvous port.
3032 * hurd/dtable.c (reauth_dtable): Likewise.
3033 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
3035 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
3036 Pass sigcode arg to msg_sig_post.
3038 * string/argz.h (argz_create): Use const in prototype.
3040 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
3041 testing (_hurd_exec_flags & EXEC_TRACED).
3042 Pass sigcode arg to msg_sig_post.
3044 * hurd/hurd.h: Declare _hurdsig_traced.
3046 * string/argz.h (__argz_next): Cast ENTRY before returning it.
3048 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
3051 * hurd/path-lookup.c: New file.
3052 * hurd/Makefile (routines): Add path-lookup.
3053 * hurd/hurd/lookup.h: Declare file_name_path_scan,
3054 hurd_file_name_path_lookup.
3055 * hurd/hurd.h: Declare file_name_path_lookup.
3057 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
3058 argument. Instead, use a separate reply port for each RPC and put them
3059 all in a port set to wait for slow replies.
3061 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
3064 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
3066 * intl/Makefile (routines): Add l10nflist and explodename.
3067 (distribute): Add loadinfo.h and locale.alias.
3068 (install-others): New variable to install locale.alias.
3070 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
3071 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
3072 is now shared with the locale implementation.
3074 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
3075 Extracted from finddomain.c. This is also used in the locale
3078 * intl/locale.alias: New file. Locale alias database compatible
3079 with X Window System's locale alias file. Can now be used in
3080 locale and gettext code.
3082 * libio/stdio.h: Add prototypes for asprint and vasprintf.
3084 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
3085 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
3086 field in structure with name of locale ("C" in this case).
3088 * locale/Makefile (routines): Add findlocale.
3090 * locale/findlocale.c: New file. Instead of trying to load the
3091 directly described file we now try to be much smarter when this
3092 fails. Use the same code as gettext does.
3094 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
3097 * locale/localeinfo.h: Adapt prototypes and declarations for new
3098 setlocale implementation. Remove definition of u32_t type. We
3099 now use u_int32_t from <sys/types.h>.
3101 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
3104 * locale/programs/config.h, locale/lc-collate.c,
3105 locale/localeinfo.h, locale/programs/ld-collate.c,
3106 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
3107 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
3108 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
3109 Change to use u_int32_t and u_int16_t.
3111 * locale/programs/localedef.c (construct_output_path): Change name
3112 of output locale to contain normalized form of the character set
3115 * string/Makefile (routines): Add agrz-ctsep and argz-next.
3116 (tests): Add tst-strlen.
3118 * string/argz-ctsep.c: New file. Implement reverse operation
3119 from argz-stringify.
3121 * string/argz-next.c: Non-inline version of function from argz.h.
3123 * string/argz.h, string/envz.h: Make usable as global header file.
3125 * string/envz.c: Fix declarations to use size_t where prototypes
3128 * string/tst-strlen.c: New file. Another test for critical
3129 situation in strlen implementations.
3131 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
3134 * wctype/test_wctype.c: Fix controlling comparison after change to
3135 32 bit character class array.
3137 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3139 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
3141 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3143 * sysdeps/unix/sysv/linux/getpriority.c: New file.
3144 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
3146 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3148 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
3149 Disable all exceptions.
3151 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3153 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
3154 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
3155 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
3156 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
3157 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
3158 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
3159 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
3160 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3161 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
3162 define __NO_MATH_INLINES, which is already defined on command
3165 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3167 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
3168 Replace 0x80000000 by 0x48000000.
3169 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
3171 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3173 * sunrpc/svc_simple.c: Make global variable pl local to
3176 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3178 * time/Makefile (tz-cflags): New variable.
3179 (CFLAGS-tzfile.c): New variable.
3180 (CFLAGS-zic.c): Add $(tz-cflags).
3181 (tz-cc): Remove variable.
3182 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
3184 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3186 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
3187 name, instead of checking for reaching end of buffer, which happens
3188 when the match is the last entry in the buffer.
3190 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
3193 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
3195 * ctype/ctype-info.c: (__ctype_width): New variable.
3196 (__ctype_names): Initialize correctly without offset.
3198 * locale/C-collate.c, locale/C-ctype.c,
3199 locale/C-messages.c, locale/C-monetary.c,
3200 locale/C-numeric.c, locale/C-time.c: Change copyright.
3202 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
3203 endianess for initialization value.
3205 * locale/lc-ctype.c (current): Add parameter for offset.
3206 (__ctype32_b, __ctype_width): Add initialization for these
3209 * locale/programs/charmap.c: Finish support for WIDTH information.
3210 (new_width): New function.
3212 * locale/programs/charset.h (width_rule): new data structure.
3213 (charset_t): Add elements for width information.
3215 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
3216 for width information.
3217 (allocate_arrays): Add new argument for charset.
3218 (ctype_finish): Make sure all characters named in charset
3219 width table are known to name table.
3220 (ctype_output): Correct handling of class and map name
3221 information and write out width information.
3222 (find_idx): Prepare for being called with NULL pointer as
3223 TABLE argument. This means only allocate name entry.
3224 (allocate_arrays): Correct handling of array element -1.
3225 Because EOF == -1 the value of element 127 must *not* be
3227 Fill width information from charset tables.
3229 * locale/programs/localedef.c (main): Correct loop over all
3230 categories after change of order from Thu Mar 28 14:22:51 1996.
3231 Add new charset argument to call of `write_all_categories'.
3233 * locale/programs/locales.h (ctype_finish, ctype_output): New
3236 * locale/programs/locfile.c (write_all_categories): Call
3237 `ctype_output' with additional argument charset.
3239 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
3240 and _POSIX_PRIO_IO definitions.
3242 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
3243 and CHARCLASS_NAME_MAX.
3245 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
3248 * stdlib/grouping.h: Prepare for use in wide string functions.
3250 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
3253 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
3255 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
3257 * string/strcoll.c: Extend for use as `wcscoll'.
3259 * string/strxfrm.c: Extend for use as `wcsxfrm'.
3261 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
3262 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
3264 * sysdeps/generic/stpncpy.c: Correct return value.
3266 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
3267 _PC_ASYNC_IO, and _PC_PRIO_IO.
3269 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
3270 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
3271 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
3272 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
3273 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
3274 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
3275 * sysdeps/stub/sysconf.c: Ditto.
3276 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
3278 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
3280 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
3281 (sysdep_routines): Add s_sysctl and sysctl.
3283 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
3285 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
3286 around kernel header.
3288 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
3289 interface to `sysctl' function.
3291 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
3293 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
3294 _SC_CHARCLASS_NAME_MAX.
3296 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
3297 of _sysctl system call.
3299 * sysvipc/Makefile (routines): Add ftok.
3301 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
3302 David Mosberger-Tang.
3304 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
3305 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
3306 wcsxfrm, wcwidth, and wcswidth.
3308 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
3309 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
3310 wcsxfrm, wcwidth, and wcswidth.
3311 Declare internal interfaces for wcsto* functions.
3312 [OPTIMIZE]: Define inline functions for wcsto* functions to
3313 call internal interface functions.
3315 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
3316 standard function equivalent to stpcpy/stpncpy.
3318 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
3319 `strcoll' implementation.
3321 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
3324 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
3326 * wcsmbs/wcstof.c: Same for `wcstof'.
3327 * wcsmbs/wcstold.c: Same for `strtold'.
3329 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
3331 * wcsmbs/wcstoq.c: Same for `wcstoq'.
3332 * wcsmbs/wcstoul.c: Same for `wcstoul'.
3333 * wcsmbs/wcstouq.c: Same for `wcstouq'.
3335 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
3337 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
3338 * wcsmbs/wcwidth.h: Common function for definitions of above two
3341 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
3342 `strxfrm implementation.
3344 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
3346 * wctype/wctype.h (wint_t): Protect against multiple definition.
3347 (wctype_t): Always define as `unsigned long int'.
3349 * wctype.h: New file. Wrapper around wctype/wctype.h.
3351 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
3353 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
3354 interrupt_operation call.
3355 (_hurdsig_interrupt_timeout): New variable.
3357 * hurd/report-wait.c (describe_number): Correctly allocate space
3358 in DESCRIPTION for the digits in I.
3360 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3362 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
3363 (_hurd_startup): Use argz functions.
3365 * hurd/hurdexec.c: Use argz functions.
3367 * errno.h [!__error_t_defined] (error_t): New type.
3368 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
3369 typedef in errnos.h.
3371 * string/envz.c, string/envz.h: New files.
3372 * string/argz.h, string/argz-append.c, string/argz-count.c,
3373 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
3374 string/argz-insert.c, string/argz-stringify.c: New files.
3375 * string/Makefile (routines): Add envz, argz-*.
3376 (headers): Add argz.h, envz.h.
3378 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3380 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
3382 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
3384 * inet/netinet/in.h, socket/sys/socket.h: Move to
3385 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
3386 * netinet/in.h, sys/socket.h: Remove file.
3388 * misc/Makefile (routines): Add fdatasync.
3390 * posix/Makefile (headers): Add sched.h.
3391 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
3392 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
3394 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
3395 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
3396 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
3397 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
3398 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
3399 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
3401 * posix/sched.h: New file. Header for POSIX scheduling interface.
3403 * posix/unistd.h: Describe options from POSIX.4.
3404 Add declaration of fdatasync.
3406 * sysdeps/generic/confname.h: Add definition for
3407 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
3408 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
3409 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
3410 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
3411 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
3413 * sysdeps/generic/fdatasync.c: New file. Default implementation
3416 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
3418 * sysdeps/generic/schedbits.h: New file. System dependent
3419 defintion for POSIX.4 scheduling interface.
3421 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
3423 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
3424 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
3425 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
3426 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
3427 sysdeps/stub/sched_yield.c: New file: Stub implementation
3428 for systems missing these POSIX.4 system calls.
3430 * sysdeps/unix/sysv/linux/gnu/types.h,
3431 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
3432 data type definitions.
3434 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
3437 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
3438 options applicable for Linux.
3440 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
3441 fdatasync, nanosleep, sched_setparam, sched_getparam,
3442 sched_setscheduler, sched_getscheduler, sched_yield,
3443 sched_get_priority_max, sched_get_priority_min, and
3444 sched_rr_get_interval.
3446 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
3449 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
3451 * time/sys/time.h: Remove definition of `struct timespec'.
3453 * time/time.h (struct timespec): Move definition to here.
3455 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3457 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
3459 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
3461 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
3462 the scan for a name, avoid doing another readdir (which overwrites
3463 NENTRIES, and was resulting in a bogus ENOENT).
3465 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
3467 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3469 * stdio/internals.c (seek_to_target): Set errno if seek function
3470 returns the wrong offset.
3472 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
3473 * wcsmbs/wcrtomb.c: Likewise.
3475 * stdio-common/vfprintf.c: Include errno.h.
3477 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
3479 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
3480 variable, LUCKY, to use instead of setting D to -1 (which fouls
3483 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3485 * config.h.in (HAVE_REGEX): New macro.
3487 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
3488 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
3489 (routines): Add statfs, fstatfs.
3490 * sysdeps/mach/hurd/statfs.c: New file.
3491 * sysdeps/mach/hurd/fstatfs.c: New file.
3492 * sysdeps/stub/fstatfs.c: New file.
3493 * sysdeps/stub/statfs.c: New file.
3494 * io/sys/statfs.h: New file.
3495 * sysdeps/generic/statfsbuf.h: New file.
3496 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
3498 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3500 * malloc/Makefile (gmalloc-routines): Add valloc back here.
3501 (dist-routines): Remove it here.
3502 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
3503 (ELIDE_VALLOC): Define it.
3504 [! ELIDE_VALLOC]: Make whole file conditional on this.
3505 * malloc/malloc.h (valloc): Make decl conditional on
3506 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
3508 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3510 * MakeTAGS: Include version.mk.
3511 (po/SYS_libc.pot): Add missing / in sed s cmd.
3513 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3515 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
3516 $(libc_cv_ld_no_whole_archive).
3518 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
3520 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
3521 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
3522 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
3523 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
3524 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
3525 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
3526 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
3527 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
3528 string/string.h, sysdeps/generic/sigaction.h,
3529 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
3530 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
3531 sysdeps/unix/sysv/linux/sys/ptrace.h,
3532 sysdeps/unix/sysv/minix/sigaction.h,
3533 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
3534 sysdeps/unix/sysv/sysv4/sigaction.h,
3535 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
3536 time/sys/time.h, time/time.h: Fix copyright comment.
3538 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3540 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
3541 not given in stack aux vector, fetch them with syscalls.
3543 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
3544 for nonmatching nonerror (instead of !MATCH).
3545 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
3547 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
3548 unsigned long for variable NET2.
3550 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
3552 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
3554 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
3555 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
3556 catgets/open_catalog.c: New files. Implementation of XPG4
3557 compliant catgets() function and needed tools.
3558 * Makefile (subdirs): Add catgets.
3560 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3562 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
3564 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
3566 * stdio-common/vfprintf.c: Correct some typos.
3568 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
3569 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
3572 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3574 * Makerules (no-whole-archive): New variable.
3575 (build-shlib): Use it.
3576 * elf/Makefile (libdl.so): Use it.
3577 * configure.in (libc_cv_ld_no_whole_archive): New check for
3579 * config.make.in (have-no-whole-archive): New variable.
3581 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
3584 * Make-dist: Include version.mk.
3585 (version, release): Variables removed.
3586 * Makeconfig (version.mk): New target.
3588 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
3590 * locale/Makefile (headers): Add langinfo.h.
3591 (CPPFLAGS): Remove -Iliblib.
3593 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3595 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
3596 function and its declaration.
3598 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
3600 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
3601 MACH_PORT_DEAD in the thread reply-port variable before destroying
3602 the signal handler's reply port, to avoid infinite recursion.
3604 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
3606 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
3607 user passes in TZ, just zero it (emacs passes in a dummy variable,
3608 and rms says the hurd should be the one to change).
3610 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3612 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
3615 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
3617 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
3618 MACH_PORT_DEAD in the thread reply-port variable before destroying
3619 the signal handler's reply port to avoid infinite recursion.
3620 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
3621 attempt to destroy PORT if it's a valid port name.
3623 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3625 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
3626 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
3627 instead of $(objpfx).
3629 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3631 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
3632 the pattern ends with a backslash and quoting is enabled.
3633 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
3636 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3638 * stdio-common/tst-printf.c (main): Add new test case.
3640 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
3642 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3644 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
3647 * stdio-common/vfprintf.c (vfprintf): Don't increment format
3648 string pointer twice after seeing `*'.
3650 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3652 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
3655 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3657 * locale/Makefile (others, install-bin): Compiling locale works
3659 (locale-modules): locale has no --dump option anymore. Remove
3662 * locale/programs/config.h: Don't declare euidaccess.
3663 Use #include_next to get libc's config.h.
3665 * locale/programs/ctypedump.c: Not needed anymore. Dump option
3666 of locale is removed.
3668 * locale/programs/locale.c: Adapt for new locale implementation.
3670 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
3671 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
3672 Don't declare static because used in _itoa_word inline function.
3674 * stdio-common/printf-parse.h: Prepare for use in wide-char
3675 stdio implementation.
3676 (find_spec): Take additional argument to work with mbrlen instead
3678 (parse_one_spec): Ditto.
3680 * stdio-common/printf-prs.c: Prepare for use in wide-char
3681 stdio implementation.
3683 * stdio-common/printf.h: Mark change for wide-char handling.
3684 Changing it now would result in incompatibilities.
3686 * stdio-common/vfprintf.c: New and fast implementation.
3688 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
3689 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
3690 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
3691 Change wcswcs to wcsstr.
3692 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
3693 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
3695 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
3696 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
3697 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
3698 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
3699 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
3700 function according to ISO C amendment 1.
3701 * wchar.h: Wrapper around "wcsmbs/wchar.h".
3703 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
3704 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
3705 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
3706 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
3707 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
3710 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
3711 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
3712 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
3713 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
3714 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
3715 Implement functions from early drafts, not part of final standard.
3717 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3719 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
3720 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
3723 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
3724 compiling in the source directories.
3726 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3728 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
3729 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
3731 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3733 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
3734 with weak alias signgam.
3736 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3738 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
3740 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3742 * sunrpc/rpc_main.c (main): Call textdomain.
3744 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
3746 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
3747 ($P/subdirs.pot): New target.
3748 ($P/SYS_libc.pot): Add -n switch.
3750 * locale/locale.h (LC_*): Values reordered to match Linux libc.
3752 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
3753 the process is a zombie; send no messages and return success.
3755 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3757 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
3758 * wctype/wctype.c: Likewise.
3759 * wctype/wctrans.c: Likewise.
3761 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3763 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
3766 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
3768 * configure.in (.weakext check): Fix asm code to use .weakext instead
3769 of .weak! Fix bogus test calls.
3770 * configure: Regenerated.
3772 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3774 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
3776 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
3777 instead of error_with_loc.
3779 * locale/weight.h: Use u_int32_t instead of u32_t.
3780 * string/strxfrm.c: Likewise.
3782 * string/strxfrm.c: Find weight.h in ../locale; don't #include
3784 * string/strcoll.c: Likewise.
3786 * intl/Makefile (copysrc): Add missing > in sed cmd.
3788 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3790 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
3791 change value to $(datadir)/i18n. `nls' is not an appropriate
3794 * Makefile (subdirs): Add new subdir wctype.
3796 * ctype/ctype-info.c: Add new global variable __ctype_names
3797 and initialize from _nl_C_LC_CTYPE.
3799 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
3801 [_ISbit]: Protect definition of bitmasks because they are also
3804 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
3805 after successfully pushing back a character.
3807 Fundamental changes in locale implementation. Almost nothing
3808 from the old code is used anymore.
3809 * locale/charmap.c, locale/collate.c, locale/config.h,
3810 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
3811 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
3812 locale/locale.c locale/localeconv.c, locale/localedef.c,
3813 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
3814 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
3815 locale/numeric.c, locale/setlocale.c, locale/token.h,
3816 locale/xmalloc.c: Removed.
3818 * locale/Makefile: Update for new locale implementation with
3819 program source code distributed in subdir.
3821 * locale/categories.def, locale/iso-4217.def: Updated file
3822 for new locale implementation.
3824 * locale/langinfo.h: Updated for new locale implementation.
3825 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
3827 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
3828 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
3829 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
3830 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
3831 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
3832 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
3833 extended LC_CTYPE and LC_COLLATE implementation.
3835 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
3836 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
3837 for locale related programs.
3839 * locale/C-collate.c, locale/C-ctype.c,
3840 locale/C-messages.c, locale/C-monetary.c,
3841 locale/C-numeric.c, locale/C-time.c,
3842 locale/lc-collate.c, locale/lc-ctype.c,
3843 locale/lc-messages.c, locale/lc-monetary.c,
3844 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
3845 functions, and new generated "C" locale data.
3847 * locale/loadlocale.c: Now handles word fields in locale binary
3848 automatically by changing the endianess if necessary.
3850 * locale/localeinfo.h (LIMAGIC): Changed magic number because
3851 of incompatible changes.
3852 (locale_data): Changed definition to allow word as a value type.
3853 (coll_sort_rule): Values for collation sorting mode.
3854 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
3855 (__collate_table, __collate_extra): Declare new global variables
3856 for collation tables.
3858 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
3859 locale/programs/charmap.c, locale/programs/charset.c,
3860 locale/programs/charset.h, locale/programs/config.h,
3861 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
3862 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
3863 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
3864 locale/programs/ld-time.c, locale/programs/linereader.c,
3865 locale/programs/linereader.h, locale/programs/locale.c,
3866 locale/programs/localedef.c, locale/programs/locales.h,
3867 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
3868 locale/programs/locfile-token.h, locale/programs/locfile.c,
3869 locale/programs/locfile.h, locale/programs/stringtrans.c,
3870 locale/programs/stringtrans.h: Implementation of locale related
3873 * locale/weight.h: Functions to access collation tables.
3875 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
3877 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
3878 < 10^-1. Reported by Bill Metzenthen.
3880 * stdio-common/tfformat.c: Add new test for above bug.
3882 * string/strcoll.c, string/strxfrm.c: Real implementation of
3883 string collation according to ISO C.
3885 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
3886 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
3887 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
3888 Implementation of wide character classes and mapping.
3890 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3892 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
3893 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
3894 do it individually if necessary after _dl_sysdep_start_cleanup call.
3896 * stdlib/Makefile (mpn-routines): Add divrem.
3898 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3900 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
3901 instead of __mpn_divmod.
3903 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
3905 * sysdeps/alpha/setjmp.S: Must establish global pointer before
3906 address of __sigsetjmp_aux can be loaded.
3908 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3910 * sysdeps/i386/i586/memset.S: New file. Highly optimized
3911 version for i586 contributed by Torbjorn Granlund.
3912 Adapted for use as bzero.
3913 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
3914 code to implement bzero().
3916 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3918 * stdlib/Makefile (mpn-routines): Remove divmod.
3920 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
3922 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
3923 wrapped with #ifndef, to avoid config.h defining it.
3925 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3927 * malloc/realloc.c (_realloc_internal): In case of growing large
3928 block, leave _heaplimit zero across _malloc_internal call.
3930 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
3932 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3934 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
3935 table when _heaplimit==0 during realloc growing large block.
3937 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
3938 (text-srcs): New variable: extract only C sources from $(tags_sources).
3939 (po/$(domain).pot): Depend on that.
3940 If it's empty, cp /dev/null $@ instead of $(extract).
3942 * misc/Makefile (headers): Add iovec.h.
3943 * sysdeps/unix/sysv/linux/iovec.h: New file.
3944 * sysdeps/generic/iovec.h: New file.
3945 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
3947 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
3950 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
3951 macros inside [! __STDC__].
3953 * stdlib/rpmatch.c: New file.
3954 * stdlib/Makefile (routines): Add rpmatch.
3955 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
3957 * MakeTAGS (MSGJOIN): Variable removed.
3958 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
3960 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3962 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
3964 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
3967 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3969 * mach/devstream.c (input): Translate \r to \n on input.
3971 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3973 * stdio-common/printf.h, stdio-common/printf_fp.c,
3974 stdio-common/vfprintf.c: Place const in parameter list at
3977 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3979 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
3980 sysdeps/ieee754/ldbl2mpn.c.
3981 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
3982 Reported by Andreas Schwab.
3984 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3986 * version.c: Include version.h to define RELEASE and VERSION macros.
3987 (__libc_release, __libc_version): Use them.
3988 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
3989 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
3990 * Make-dist (rel+vers): Snarf the macro values from version.h.
3992 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
3993 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
3994 pass -a for these files.
3996 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
3999 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4001 * sysdeps/unix/sysv/linux/wait3.c: New file.
4002 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
4003 one from sysdeps/posix.
4005 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4007 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
4009 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
4010 lt_executable, then lt_library.
4011 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
4013 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4015 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
4017 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4019 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
4020 VEOL2, VMIN, VTIME): Corrected.
4021 (PAGEOUT, WRAP, VDSUSP): Deleted.
4023 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4025 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
4026 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
4028 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
4030 * math/math.h: Move M_* constants before __math.h include.
4031 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
4033 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
4034 If log10 is not defined (i.e. no -lm), use stupid loop instead.
4036 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
4037 and no other _*_SOURCE macro is.
4038 (_GNU_SOURCE): Don't define by default.
4039 * libc-symbols.h (_GNU_SOURCE): Define it.
4041 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
4043 * config.make.in (weak-symbols): Variable removed.
4044 * configure.in (--with-weak-symbols): Option removed.
4045 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
4048 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
4049 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
4051 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
4053 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
4055 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
4057 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
4058 * inet/inet_mkadr.c: Likewise.
4059 * inet/inet_net.c: Likewise.
4060 * inet/inet_netof.c: Likewise.
4061 * inet/rcmd.c: Likewise.
4062 * inet/arpa/inet.h: Likewise.
4063 * inet/netinet/in.h: Likewise.
4064 * inet/netinet/tcp.h: Likewise.
4065 * inet/protocols/rwhod.h: Likewise.
4066 * inet/protocols/talkd.h: Likewise.
4067 * resolv/inet_addr.c: Likewise.
4069 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
4071 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
4073 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
4076 * sysdeps/alpha/__math.h (atan, cabs): New functions.
4078 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
4079 expects set-value, not pointer to it).
4081 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
4083 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
4085 * gmon/gmon.c (__bb_head): new variable.
4086 (write_hist, write_call_graph, write_bb_counts): new functions.
4087 (_mcleanup): modified to call above functions instead of directly
4088 writing out gmon.out.
4089 * gmon/sys/gmon.h (struct __bb): New type.
4090 (struct gmonhdr): Type removed.
4091 (struct gmonparam): New member `log_hashfraction'.
4092 (GMONVERSION): Macro removed.
4094 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
4095 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
4097 * gmon/Makefile (headers): Add sys/gmon_out.h.
4098 (routines): Add bb_init_func, bb_exit_func.
4100 * gmon/mcount.c: Avoid integer division.
4102 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
4104 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
4105 passed to match what __sigsetjmp_aux() expects.
4107 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
4109 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
4110 connect, getpeername, getsockname, listen, recv, recvfrom,
4111 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
4112 added to override same-name assembly file in the parent directory.
4114 * stdlib/stdlib.h: add include of sys/types.h in front of random
4115 etc declarations to ensure int32_t is declared.
4117 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
4118 where 32 bit integers are required. Also change LONG_MAX into
4119 0x7fffffff since the intent is to turn off the sign bit in a
4122 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
4123 with very large values for "days" (e.g., 64 bit values).
4125 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
4127 * stdlib/stdlib.h (__random, __random_r, random_r, struct
4128 random_data): use int32_t instead of `long int'.
4130 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
4132 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
4134 * sysdeps/alpha/ffs.S: new file.
4136 * sysdeps/alpha/fabs.c: File removed.
4138 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
4141 * time/offtime.c: make capable of dealing with very large (64 bit)
4142 time_t values. Use old algorithm until a year is reached that
4143 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
4144 do the remainder in a single division.
4146 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
4147 be unsigned int, not unsigned long.
4149 * string/test-ffs.c (main): add test case with all upper bits
4152 * stdlib/tst-strtol.c: add tests cases for machines where
4155 * stdlib/testrand.c (main): disallow rand() to return negative
4158 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
4160 * stdlib/stdlib.h: on 64 bit machines, declare
4161 struct random_data, __random(), __random_r, and random_r to
4162 return "int" instead of "long int".
4164 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
4165 int". Similarly, use INT_MAX instead of LONG_MAX.
4167 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
4168 need to operate on "int" instead of "long int".
4170 * locale/locfile-hash.c (compute_hashval): make shifted constant
4171 a long to avoid loosing bits on 64 bit machines.
4173 * dirent/tst-seekdir.c (main): fix confusing comment; print
4174 a line to mark point where directory is rewound.
4176 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
4178 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
4180 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
4182 * sysdeps/unix/sysv/linux/alpha/Makefile,
4183 sysdeps/unix/sysv/linux/alpha/brk.S,
4184 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
4185 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
4186 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
4187 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
4188 sysdeps/unix/sysv/linux/alpha/pipe.S,
4189 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
4190 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
4191 sysdeps/unix/sysv/linux/alpha/speed.c,
4192 sysdeps/unix/sysv/linux/alpha/start.S,
4193 sysdeps/unix/sysv/linux/alpha/syscall.S,
4194 sysdeps/unix/sysv/linux/alpha/syscalls.list,
4195 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
4196 sysdeps/unix/sysv/linux/alpha/sysdep.S,
4197 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
4199 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
4200 address register before returning (gcc 2.7.1 doesn't do it,
4201 presumably because $26 is declared as a global variable).
4203 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
4206 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
4207 instead of multiplication.
4209 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
4210 currently blocked signals instead of the empty mask to ensure
4211 that execution of alarm handler occurs with none of the currently
4212 blocked signals enabled.
4214 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
4216 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
4217 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
4219 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
4220 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
4221 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
4222 sysdeps/alpha/strlen.S: New files.
4224 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
4225 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
4226 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
4227 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
4230 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
4233 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
4234 to end of function to avoid a jump across NOPs.
4236 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
4237 pertaining to integer division/remainder routines since new code
4238 doesn't require them.
4240 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
4241 where 32 bit quantities are consumed/stored. Various other minor
4242 64-bit cleanups (casting).
4244 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
4245 whether xdr_long or xdr_short should be used to encode an int.
4246 Notice that an xdr_long is 4 bytes independent of the architecture
4247 (otherwise no Alpha could interoperate with existing NFS servers,
4248 for example). Ditto for enums.
4250 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
4251 to 16 since it really wants 16 bytes.
4253 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
4255 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
4256 u_int32_t (instead of u_long).
4258 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
4259 "buf" pointer by casting it to a char* first since a long* may be 8
4260 bytes or more and oa->oa_length may be any multiple of 4.
4262 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
4263 since it really is testing for 32 bits. Fixed casts to use
4264 u_int32 instead of u_long.
4265 * sunrpc/xdr_rec.c: Likewise.
4267 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
4268 * sunrpc/rpc/auth.h: Likewise.
4270 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
4273 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4275 * sysdeps/i386/fpu/__math.h: New file.
4276 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
4278 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4280 * sysdeps/posix/clock.c: Don't multiply the return value by
4281 CLOCKS_PER_SEC or CLK_TCK.
4283 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4285 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
4286 scan finds no match.
4288 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
4289 * misc/bsd-compat.c (setpgrp): New function, two arg version.
4290 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
4291 * sysdeps/mach/hurd/setpgid.c: Likewise.
4292 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
4293 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
4294 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
4295 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
4296 * posix/setpgrp.c (setpgrp): New file.
4297 * posix/Makefile (routines): Add setpgrp.
4299 * elf/Makefile (rtld-link): New canned sequence.
4300 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
4302 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
4304 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4306 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
4307 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
4309 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4311 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
4312 (CFLAGS): Append -Wno-unitialized.
4314 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4316 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
4317 short bits into double.
4319 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
4321 * sysdeps/alpha/memchr.S: New file.
4322 * sysdeps/alpha/memchr.c: Obsolete file removed.
4323 * string/tester.c: Soup up memchr tests.
4325 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4327 * misc/Makefile (headers): Add sysexits.h.
4328 * misc/sysexits.h: New file.
4330 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4332 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
4334 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
4337 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
4338 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
4339 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
4340 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
4341 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
4342 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
4343 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
4344 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
4345 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
4346 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
4347 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
4348 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
4349 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
4350 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
4351 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
4352 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
4353 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
4354 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
4355 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
4356 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
4357 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
4358 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
4359 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
4360 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
4361 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
4362 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
4363 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
4364 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
4365 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
4366 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
4367 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
4368 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
4369 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
4370 sysdeps/m68k/fpu/s_significand.c,
4371 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
4372 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
4373 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
4374 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
4376 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
4378 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
4379 * sysdeps/m68k/fpu/isnanl.c: Likewise.
4381 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4383 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
4384 calculation to include trailing invariant portion. Don't use alloca;
4385 instead use a dynamic auto array for GCC, malloc for non-GCC.
4386 Handle nested braces properly.
4388 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
4390 * libc-symbols.h (lint): New macro.
4392 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4394 * libio/iosetvbuf.c: Add weak alias setvbuf.
4396 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4398 * string/strnlen.c: New file.
4399 * string/Makefile (routines): Add strnlen.
4400 * string/string.h [__USE_GNU] (strnlen): Declare new function.
4401 [__OPTIMIZE__]: Define extern inline implementation of it.
4403 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
4404 addition, to avoid using anything from -lm.
4406 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4408 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
4410 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
4411 (CALL_MCOUNT): New macro, empty unless [PROF].
4412 (ENTRY): Do CALL_MCOUNT just after the label.
4413 (JUMPTARGET): New macro.
4414 (SYSCALL_ERROR_HANDLER): Fix syntax.
4416 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4418 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
4419 function instead of using inline asm i386 syscall.
4420 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
4422 * posix/unistd.h [__USE_BSD]: Declare usleep.
4424 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4426 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
4427 (fcvt, ecvt): Use it for buffer size.
4429 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
4430 conditionalizing long vs long long.
4432 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
4433 pointers; never return EFAULT.
4434 * stdlib/drand48_r.c (drand48_r): Likewise.
4435 * stdlib/erand48_r.c (erand48_r): Likewise.
4437 * setjmp/Makefile (tests): Add jmpbug.
4438 * setjmp/jmpbug.c: New file.
4440 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4442 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
4443 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
4444 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
4445 `restore' until the target frame is hit.
4447 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4449 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
4450 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
4453 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4455 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
4456 left side of sed substitutions.
4458 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4460 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
4461 is not available anymore. Do it ourselves.
4463 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
4464 Correct GCC `asm' syntax.
4466 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4468 * stdio-common/Makefile (tests): Add tst-ungetc.
4469 * stdio-common/tst-ungetc.c: New test from drepper.
4470 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
4472 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
4473 somehow this was missed, though the weak alias is already there.
4475 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
4476 default to double precision, all interrupts masked; fdlibm requires.
4478 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4480 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
4482 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4484 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
4486 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
4488 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
4491 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4493 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
4495 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
4497 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
4498 because some fdmask is 0.
4500 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
4502 * sysdeps/mach/hurd/select.c (__select):
4503 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
4504 Don't return without frobbing the bitmasks after a timeout.
4505 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
4507 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4509 * hurd/catch-signal.c (hurd_safe_memmove): New function.
4510 (hurd_safe_copyin, hurd_safe_copyout): New functions.
4511 * hurd/hurd/sigpreempt.h: Declare them.
4513 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4515 Replace math code with fdlibm from Sun as modified for netbsd by
4516 JT Conklin and Ian Taylor, including x86 FPU support.
4517 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
4518 * math/math_private.h: New file.
4519 * sysdeps/i386/fpu/Implies: New file.
4520 * sysdeps/ieee754/Implies: New file.
4521 * math/machine/asm.h, math/machine/endian.h: New files.
4522 * math/Makefile, math/math.h: Rewritten.
4523 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
4524 * math/finite.c: File removed.
4525 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
4527 * math/test-math.c: Include errno.h and string.h.
4529 * sysdeps/unix/bsd/dirstream.h: File removed.
4530 * sysdeps/unix/bsd/readdir.c: File removed.
4532 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4534 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
4535 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
4537 * sysdeps/generic/profil-counter.h: New file.
4539 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
4541 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
4542 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
4543 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
4544 same as linux/m68k/profil-counter.h except the comment.
4546 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4548 * stdlib/Makefile (mpn-stuff): New target.
4551 * Code copied from GMP updated to 1.937 version.
4552 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
4554 * posix/glob.c: Use canonical code from autoconf manual for dirent
4556 [_D_NAMLEN]: Redefine NAMLEN using this.
4557 (glob_in_dir): Use NAMLEN macro.
4559 * sysdeps/posix/profil.c: New file.
4561 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4563 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
4565 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4567 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
4570 * time/strftime.c: Support - and _ flags to affect number padding.
4572 * sysdeps/unix/common/tcsendbrk.c: New file.
4574 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4576 * sysdeps/unix/dirstream.h: Rewritten.
4577 * sysdeps/unix/readdir.c: Rewritten.
4578 * sysdeps/unix/telldir.c: Rewritten.
4579 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
4580 Remove __ from DIR struct member names.
4581 * sysdeps/unix/dirfd.c: Likewise.
4582 * sysdeps/unix/seekdir.c: Likewise.
4583 * sysdeps/unix/rewinddir.c: Likewise.
4584 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
4586 * sysdeps/stub/direct.h: File removed.
4587 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
4588 * sysdeps/unix/bsd/direct.h: File removed.
4589 * sysdeps/unix/common/direct.h: File removed.
4590 * sysdeps/unix/sysv/irix4/direct.h: File removed.
4591 * sysdeps/unix/sysv/isc3/direct.h: File removed.
4592 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
4593 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
4594 * sysdeps/unix/common/direntry.h: New file.
4595 * sysdeps/unix/bsd/direntry.h: New file.
4596 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
4597 * sysdeps/unix/sysv/direntry.h: New file.
4598 * sysdeps/stub/direntry.h: New file.
4599 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
4601 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
4602 * dirent/Makefile (headers): Add direntry.h.
4603 (distribute): Remove direct.h.
4604 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
4605 * dirent/scandir.c: Likewise.
4606 * io/fts.c (fts_build): Likewise.
4607 * io/ftw.c (ftw_dir): Likewise.
4608 * sysdeps/posix/ttyname.c: Likewise.
4610 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
4612 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
4613 (collector_timeout): New static variable.
4614 (update_waiter): Actually call __task_enable_pc_sampling.
4615 Set collector_timeout based on the `tick' count returned.
4616 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
4617 Use collector_timeout in __mach_msg call.
4619 * gmon/Makefile (noprof): New variable containing mcount.
4620 Append profil unless it is in $(unix-syscalls).
4621 (mcount.po): Use $(noprof) for list of targets in this rule.
4623 * libc-symbols.h: Define _LIBC before #include <config.h>.
4625 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4627 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
4628 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
4630 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
4632 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4634 * libio/cleanup.c (_IO_cleanup_registration_needed)
4635 [!_G_HAVE_ATEXIT]: Init to NULL.
4636 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
4638 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
4640 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
4641 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
4643 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4645 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
4648 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4650 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
4652 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
4654 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4656 * Rules (others): Depend on $(extra-objs), $(install-lib),
4657 $(install-bin), $(install-sbin), in object directory.
4659 * Makeconfig (link-libc): Don't pass -rpath option with default
4660 path, since ld.so should use the same default.
4661 * Makerules (build-shlib): Likewise.
4663 * Makerules (make-target-directory): Use mkinstalldirs.
4665 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
4666 redefine ENTRY et al.
4668 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
4669 Macros removed. The code in unix/i386/sysdep.h should now suffice.
4671 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
4673 (ENTRY): Use it in .align directive.
4674 (CALL_MCOUNT): New macro, empty unless [PROF].
4675 (ENTRY): Do CALL_MCOUNT just after the label.
4677 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
4678 code can call mcount.
4680 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4682 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
4683 translation markings are now integrated in his distribution.
4685 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
4687 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4689 * po: New directory where `LANG.po' files for message translations
4691 * po/SYS_libc.pot: New file, template of message strings as in source.
4692 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
4693 the source using xgettext.
4694 * Makerules ($(..)po/%.pot): New rule.
4695 * manual/Makefile (../po/manual.pot): New target, make it empty.
4697 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
4698 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
4699 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
4700 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
4701 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
4703 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
4704 Updated from ADO 96d.
4706 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4708 * csu/initfini.c (_init): Remove bogus volatile declarations and
4709 extra variable, take the address of __gmon_start__ only implicitly
4710 to avoid the test being optimized out.
4712 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4714 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
4717 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4719 * elf/Makefile, time/Makefile: Make `all' the default target.
4721 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4723 * misc/sys/ptrace.h: Moved to ...
4724 * sysdeps/generic/sys/ptrace.h: ... here.
4725 * sys/ptrace.h: File removed.
4727 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4729 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
4731 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
4732 so that the symbol alias works.
4734 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
4736 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
4738 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
4740 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
4743 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
4746 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
4748 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
4749 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
4750 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
4751 to `long' where necessary.
4753 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4755 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
4756 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
4757 to correctly access MPN array depending on architecture.
4759 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4761 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
4763 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
4764 Only some systems have three args; let them define their own stub.
4766 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
4768 * sysdeps/generic/machine-gmon.h: New file.
4769 * gmon/Makefile (distribute): Add machine-gmon.h.
4770 * gmon/mcount.c: Undo changes of Feb 13.
4771 Include "machine-gmon.h".
4773 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4775 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
4776 identical to unix/common/direct.h.
4778 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
4780 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
4782 * stdio-common/Makefile (tests): Remove scanf6.
4784 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
4786 * time/mktime.c (mktime): Move static variable localtime_offset to
4789 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
4792 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4794 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
4795 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
4796 (_dl_runtime_resolve): Save %a1 as well.
4797 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
4798 (elf_machine_relplt): Define.
4800 * elf/dl-runtime.c: Include possible extra args in declaration of
4803 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4805 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
4807 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4809 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
4811 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4813 * mach/Machrules: Use -include for $(*.ir).
4815 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
4817 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
4818 (_IOT_COUNT2): Field is 3 bits, not 2.
4819 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
4820 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
4821 bits before looking up handler.
4822 (fioctl): Use __hurd_dfail.
4823 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
4825 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4827 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
4828 (sysdep_routines): Don't add sys-sig.
4830 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
4832 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
4834 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
4835 character bailed out one too early; changed constant 6 to
4838 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4840 * posix/execvp.c: When executing shell on script, first arg is
4841 full file name, not argv[0].
4843 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
4844 * mach/Machrules [no_deps]: Inhibit interface rules.
4846 * malloc/Makefile (distribute): Removed TODO.
4848 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4850 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
4853 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
4855 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
4857 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
4858 (sysdep_routines): Append setfpucw.
4859 (extra-objs): Append ieee-fpucw.o.
4860 (install-lib): Append libieee.a.
4861 (libieee.a): New target.
4862 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
4863 * sysdeps/unix/sysv/linux/i386/fpu_control.h
4864 (_FPU_GETCW, _FPU_SETCW): New macros.
4865 (fpu_control_t): New typedef.
4866 (__setfpucw): Use fpu_control_t for argument type.
4867 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
4869 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
4871 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
4872 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
4874 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4876 * sysdeps/unix/sysv/linux/m68k/brk.c,
4877 sysdeps/unix/sysv/linux/m68k/mmap.S,
4878 sysdeps/unix/sysv/linux/m68k/select.S,
4879 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
4880 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
4881 sysdeps/unix/sysv/linux/m68k/socket.S,
4882 sysdeps/unix/sysv/linux/m68k/syscall.S,
4883 sysdeps/unix/sysv/linux/m68k/sysdep.S,
4884 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
4886 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
4888 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
4889 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
4891 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
4892 MAP_FILE if not already defined.
4894 * elf/elf.h: Add m68k reloc definitions.
4895 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
4897 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4899 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
4900 this macro declare extra leading args.
4902 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
4904 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
4905 elf_machine_relplt): New macros.
4906 * elf/dl-runtime.c: New file.
4907 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
4909 * gmon/Makefile (headers): Remove machine-gmon.h.
4910 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
4911 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
4913 (_mcount): Define normally, taking no args.
4914 Use __builtin_return_address to fetch PC values of caller and caller's
4917 * Makerules: Rewrote rules to update libc archives of all flavors.
4918 Define separate specific rules for each flavor using o-iterator.
4920 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
4922 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4924 * Makerules (ar-symtab-name): New macro. Replace all occurences
4925 of __.SYMDEF by $(ar-symtab-name).
4926 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
4928 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4930 * Makefile (configure, %/configure): Depend on aclocal.m4.
4931 * Make-dist (configure, %/configure): Likewise.
4933 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
4935 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
4936 only needed in the implementation, not for any users.
4938 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
4941 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
4942 * sunrpc/pm_getmaps.c: Likewise.
4944 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
4945 so real syscalls override unix/sysv/*.c on sysv-derived systems
4947 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
4948 override unix/sysv/settimeofday.c since that overrides
4951 * Makeconfig (+link): Put $(link-libc) after deps from $^,
4952 regardless of where libc.a appears in the deps.
4954 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
4956 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
4957 Define __ name for sigprocmask.
4958 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
4960 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
4961 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
4962 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
4963 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
4964 Add getdents, wait3, waitpid.
4965 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
4966 settimeofday, sigsuspend, sstk, utimes.
4967 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
4968 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
4969 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
4971 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
4972 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
4973 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
4974 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
4975 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
4976 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
4977 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
4978 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
4979 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
4980 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
4981 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
4982 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
4983 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
4984 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
4985 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
4986 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
4987 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
4989 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
4990 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
4991 move it to last thing.
4993 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4995 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
4997 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
4999 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5001 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
5004 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5006 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
5007 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
5009 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
5011 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5013 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
5015 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5017 * Makefile (subdirs): Added wcsmbs.
5018 * wcsmbs: New directory of wide char/multibyte char functions from
5021 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
5022 * hurd/report-wait.c: New file.
5023 * hurd/Makefile (routines): Added report-wait.
5025 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
5027 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
5029 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
5030 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
5031 Structure moved to intr-msg.h; include that.
5033 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
5034 (CFLAGS-scheck.c): New variable.
5036 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
5037 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
5038 __hurd_threadvar_stack_mask): New variables.
5040 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
5041 its new message port.
5043 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
5045 * configure.in (uname): Add quoting.
5047 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
5048 * hurd/fchroot.c: Likewise.
5050 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
5051 __attribute__ ((__mode__ (__XX__))).
5053 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
5055 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
5056 destination cache lines.
5057 (WORD_COPY_BWD): Likewise.
5059 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5061 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
5062 file name first thing, before $(native-compile) changes directories.
5064 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
5065 * sysdeps/unix/make_errlist.c: Use strerror if available.
5066 * sysdeps/unix/configure.in: New file
5068 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
5069 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
5071 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
5072 * sysdeps/stub/connect.c: Likewise.
5073 * sysdeps/stub/bind.c: Likewise.
5075 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
5076 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
5077 another dir_lookup of "".
5079 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
5081 * libc-symbols.h (weak_alias, weak_symbol): added definitions
5082 for ECOFF (HAVE_ECOFF).
5084 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5086 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
5088 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5090 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
5091 when cancelled before RPC.
5093 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5095 * dirent/scandir.c: Allocate dirents with correct size for name, and
5096 copy with correct size.
5098 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
5100 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
5102 (__vfscanf): Fix checking of extra type modifiers.
5104 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
5106 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
5108 * stdlib/strtod.c: Only negate exponent when there really is one.
5110 * stdio-common/vfscanf.c: Accept type modifiers on %n.
5111 Fix FP number parsing.
5113 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5115 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
5117 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
5119 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
5121 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
5122 include an increment for each operation allowed on each fd.
5124 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5126 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
5128 * Makefile: Use -include for sysd-dirs.
5130 * configure.in (uname): Check for uname in syscalls.list files.
5131 * sysdeps/unix/sysv/syscalls.list: Remove uname.
5132 * sysdeps/unix/syscalls.list: Add uname.
5134 * stdlib/strtol.c (weak1): New macro, to get the right name declared
5137 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
5139 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
5140 (dbm_open): Use dynamic allocation for file name buffer, instead of
5141 limitting its size to MAXPATHLEN.
5143 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
5144 buffer, instead of limitting its size to MAXPATHLEN.
5146 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
5147 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
5149 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5151 * time/Makefile: Fix check for cross compiling.
5153 Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5155 * db/Makefile (subdir-dirs): Renamed from dbdirs.
5157 * Makerules (distinfo-vars): Add subdir-dirs.
5159 * MakeTAGS: Remove vpath directives.
5160 (all-dirs): Prepend $(subdir-dirs).
5161 (all-sources, all-headers): Use wildcard to find sources.
5163 Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5165 * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
5168 * mach/msgserver.c: Declare DEMUX arg with prototype.
5170 Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5172 * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
5174 * alpha/jmp_buf.h: Likewise.
5175 * m68k/jmp_buf.h: Likewise.
5176 * mips/jmp_buf.h: Likewise.
5177 * sparc/jmp_buf.h: Likewise.
5178 * vax/jmp_buf.h: Likewise.
5180 * sysdeps/generic/memmem.c: Fix return value in case where
5183 * hurd/hurdlookup.c (__file_name_lookup_under,
5184 __file_name_lookup): Restrict mode with umask.
5185 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
5186 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
5188 Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5190 * stdlib/strtol.c: Undo last change. ANSI C changed since the
5191 draft I checked yesterday. Sigh.
5193 Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5195 * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
5197 Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5199 * malloc/mcheck.c (mabort): Declare prototype.
5201 * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
5203 * Makerules: Use -include for generated makefiles.
5205 * errno.h: Don't declare errno if it's defined as a macro.
5207 * stdio-common/vfscanf.c: Disallow l flag after ll or L.
5209 * stdio-common/Makefile (tests): Add scanf[1-9].
5210 * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
5212 Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
5214 * strftime.c (strftime):
5215 When invoking self, check whether the subsidiary invocation failed.
5216 Use "???" (not "") to denote unknown time zone information.
5218 Make this source file portable to standalone contexts (e.g. GNU Emacs).
5219 <config.h>: Include if HAVE_CONFIG_H is defined.
5220 (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
5221 defined if _LIBC or if <config.h> defines them.
5222 <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
5223 <sys/types.h>: New include; some hosts require it for `time_t'.
5224 <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
5225 <limits.h>: Include only if HAVE_LIMITS_H.
5226 <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
5227 (memcpy): Define in terms of bcopy if !STDC_HEADERS.
5228 (__P, PTR): Define if not already defined.
5229 (__tzname, __daylight, __timezone): Remove macros; no longer needed.
5230 (add, strftime): Don't use NULL, for portability to some weird hosts.
5231 (fmt): If !_LIBC, don't assume sprintf returns a count.
5232 (week, strftime): Use old-style function declarations.
5233 (weekday_name, month_name): New constants.
5234 (strftime): Use traditional C values if locale support isn't available.
5235 Use `const' instead of CONST. For time zones, use tm_zone if
5236 possible, then fall back on tzname. Don't check for multibyte
5237 characters unless mblen is supported. Use formats like %02d instead
5238 of %.2d, for portability to older hosts.
5240 Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5242 * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
5243 (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
5244 Fix bug in recognition of %ll flag for long long.
5245 Fix overeager checks for conflicting type modifiers.
5246 With ' flag, match thousands separators for decimal numbers.
5248 Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5250 * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
5252 * resolv/Makefile (CFLAGS): Disable some warnings.
5254 * sysdeps/generic/Makefile (elided-routines): Removed hypot.
5255 (+gccwarn): Set with override.
5257 * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
5259 * posix/Makefile (CFLAGS-regex.c): New variable.
5261 * malloc/Makefile (CFLAGS-obstack.c): New variable.
5263 * io/Makefile (CFLAGS-fts.c): New variable.
5264 * io/fts.c (fts_open): Use prototypes for COMPAR decl.
5266 Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
5268 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
5269 case is '\0'-terminated.
5271 Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5273 * elf/rtld.c (dl_main): Support additional args in --list mode for
5274 debugging: look them up as symbol names and print values.
5276 * misc/getttyent.c (skip, value): Declare with prototypes in file
5279 * csu/initfini.c (_init): Explicitly set a variable that is
5280 pointer to volatile with the address of __gmon_start__, to avoid
5281 the test being optimized out.
5283 Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5285 * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.
5287 * io/fts.h (FTSENT): Define fts_compar member with prototype.
5289 * hurd/hurd.h: Use prototype in getcttyid decl.
5291 * stdlib/l64a.c: Fix typo in last change.
5293 * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
5294 for determining size of types.
5295 * stdlib/srand48_r.c: Likewise.
5297 * misc/utmp.h: Declare login, logout, logwtmp.
5298 * misc/logout.c: Declare argument as pointer to const.
5299 * misc/login.c: Likewise.
5300 * misc/logwtmp.c: Likewise.
5301 Include time.h, string.h.
5303 * misc/efgcvt_r.c: Include stdlib.h.
5305 * io/mknod.c: Include sys/types.h.
5307 * gmon/sys/gmon.h: Declare monstartup, _mcleanup.
5309 * csu/gmon-start.c (_start, etext): Declare with prototypes.
5311 * stdio-common/vfscanf.c (%[): Fix range handling.
5313 Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5315 * misc/Makefile (headers): Rename queue.h to sys/queue.h.
5316 * misc/queue.h: Moved to misc/sys/queue.h.
5318 * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of
5321 * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a.
5323 * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not
5324 literal byte values.
5326 * misc/bsd-compat.c (getpgrp): Define with prototype.
5328 * misc/init-misc.c (__progname_full): New variable.
5329 (program_invocation_name, program_invocation_short_name): New aliases.
5330 (__init_misc): Define with prototype. Set __progname_full.
5331 * misc/progname.c: File removed.
5332 * misc/Makefile (aux): Remove progname.
5334 * misc/hsearch_r.c (isprime): Define with prototype.
5336 * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version.
5337 * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1.
5338 * sysdeps/unix/bsd/setegid.c: Likewise.
5340 Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5342 * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
5345 * posix/glob.c (glob): Use prototype in getlogin decl.
5347 * db/ndbm.h: Declare dbm_error, dbm_clearerr.
5348 * db/db/db.c (__dberr): Define with prototype.
5349 (__dbpanic): Use prototypes in casts.
5350 * db/hash/hash_log2.c: Add prototype decl.
5352 * sysdeps/generic/_strerror.c (_strerror_internal): Define with
5355 * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv.
5356 They will be overridden with syscalls if extant by unix/syscalls.list.
5358 * Makeconfig (+gccwarn): Add -Wstrict-prototypes.
5360 * stdio-common/printf_fp.c (__printf_fp): Define with prototype.
5361 * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
5363 Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5365 * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
5367 * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to
5370 * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
5371 defines GNU extensions.
5372 * posix/fnmatch.c: Likewise.
5374 Replaced all simple system call files *.S throughout sysdeps/unix
5375 with syscalls.list files to be processed by make-syscalls.sh.
5376 * sysdeps/unix/s-proto.S: New file.
5377 * sysdeps/unix/syscalls.list: New file.
5378 * sysdeps/unix/bsd/syscalls.list: New file.
5379 * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file.
5380 * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file.
5381 * sysdeps/unix/bsd/osf/syscalls.list: New file.
5382 * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file.
5383 * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file.
5384 * sysdeps/unix/bsd/sun/syscalls.list: New file.
5385 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file.
5386 * sysdeps/unix/bsd/ultrix4/syscalls.list: New file.
5387 * sysdeps/unix/common/syscalls.list: New file.
5388 * sysdeps/unix/inet/syscalls.list: New file.
5389 * sysdeps/unix/mman/syscalls.list: New file.
5390 * sysdeps/unix/sysv/syscalls.list: New file.
5391 * sysdeps/unix/sysv/irix4/syscalls.list: New file.
5392 * sysdeps/unix/sysv/isc2.2/syscalls.list: New file.
5393 * sysdeps/unix/sysv/linux/syscalls.list: New file.
5394 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file.
5395 * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file.
5396 * sysdeps/unix/sysv/sysv4/syscalls.list: New file.
5397 * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file.
5398 * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file.
5399 * sysdeps/unix/acct.S: File removed.
5400 * sysdeps/unix/chdir.S: File removed.
5401 * sysdeps/unix/chmod.S: File removed.
5402 * sysdeps/unix/chown.S: File removed.
5403 * sysdeps/unix/chroot.S: File removed.
5404 * sysdeps/unix/close.S: File removed.
5405 * sysdeps/unix/configure: File removed.
5406 * sysdeps/unix/configure.in: File removed.
5407 * sysdeps/unix/dup.S: File removed.
5408 * sysdeps/unix/fcntl.S: File removed.
5409 * sysdeps/unix/fsync.S: File removed.
5410 * sysdeps/unix/getgid.S: File removed.
5411 * sysdeps/unix/getpid.S: File removed.
5412 * sysdeps/unix/getuid.S: File removed.
5413 * sysdeps/unix/ioctl.S: File removed.
5414 * sysdeps/unix/kill.S: File removed.
5415 * sysdeps/unix/link.S: File removed.
5416 * sysdeps/unix/lseek.S: File removed.
5417 * sysdeps/unix/open.S: File removed.
5418 * sysdeps/unix/ptrace.S: File removed.
5419 * sysdeps/unix/read.S: File removed.
5420 * sysdeps/unix/reboot.S: File removed.
5421 * sysdeps/unix/setgid.S: File removed.
5422 * sysdeps/unix/setuid.S: File removed.
5423 * sysdeps/unix/sync.S: File removed.
5424 * sysdeps/unix/umask.S: File removed.
5425 * sysdeps/unix/unlink.S: File removed.
5426 * sysdeps/unix/write.S: File removed.
5427 * sysdeps/unix/bsd/flock.S: File removed.
5428 * sysdeps/unix/bsd/getdtsz.S: File removed.
5429 * sysdeps/unix/bsd/getpagesize.S: File removed.
5430 * sysdeps/unix/bsd/killpg.S: File removed.
5431 * sysdeps/unix/bsd/profil.S: File removed.
5432 * sysdeps/unix/bsd/readv.S: File removed.
5433 * sysdeps/unix/bsd/settimeofday.S: File removed.
5434 * sysdeps/unix/bsd/sigblock.S: File removed.
5435 * sysdeps/unix/bsd/sigpause.S: File removed.
5436 * sysdeps/unix/bsd/sigsetmask.S: File removed.
5437 * sysdeps/unix/bsd/sigstack.S: File removed.
5438 * sysdeps/unix/bsd/sigvec.S: File removed.
5439 * sysdeps/unix/bsd/utimes.S: File removed.
5440 * sysdeps/unix/bsd/writev.S: File removed.
5441 * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed.
5442 * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed.
5443 * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed.
5444 * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed.
5445 * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed.
5446 * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed.
5447 * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed.
5448 * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed.
5449 * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed.
5450 * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed.
5451 * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed.
5452 * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed.
5453 * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed.
5454 * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed.
5455 * sysdeps/unix/bsd/osf/msync.S: File removed.
5456 * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed.
5457 * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed.
5458 * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed.
5459 * sysdeps/unix/bsd/sun/getdents.S: File removed.
5460 * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed.
5461 * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed.
5462 * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed.
5463 * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed.
5464 * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed.
5465 * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed.
5466 * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed.
5467 * sysdeps/unix/bsd/ultrix4/getdents.S: File removed.
5468 * sysdeps/unix/bsd/ultrix4/setsid.S: File removed.
5469 * sysdeps/unix/bsd/ultrix4/uname.S: File removed.
5470 * sysdeps/unix/common/access.S: File removed.
5471 * sysdeps/unix/common/adjtime.S: File removed.
5472 * sysdeps/unix/common/dup2.S: File removed.
5473 * sysdeps/unix/common/fchmod.S: File removed.
5474 * sysdeps/unix/common/fchown.S: File removed.
5475 * sysdeps/unix/common/ftruncate.S: File removed.
5476 * sysdeps/unix/common/getgroups.S: File removed.
5477 * sysdeps/unix/common/getitimer.S: File removed.
5478 * sysdeps/unix/common/getpgid.S: File removed.
5479 * sysdeps/unix/common/getpriority.S: File removed.
5480 * sysdeps/unix/common/getrlimit.S: File removed.
5481 * sysdeps/unix/common/getrusage.S: File removed.
5482 * sysdeps/unix/common/gettimeofday.S: File removed.
5483 * sysdeps/unix/common/mkdir.S: File removed.
5484 * sysdeps/unix/common/readlink.S: File removed.
5485 * sysdeps/unix/common/rename.S: File removed.
5486 * sysdeps/unix/common/rmdir.S: File removed.
5487 * sysdeps/unix/common/select.S: File removed.
5488 * sysdeps/unix/common/setgroups.S: File removed.
5489 * sysdeps/unix/common/setitimer.S: File removed.
5490 * sysdeps/unix/common/setpgid.S: File removed.
5491 * sysdeps/unix/common/setpriority.S: File removed.
5492 * sysdeps/unix/common/setregid.S: File removed.
5493 * sysdeps/unix/common/setreuid.S: File removed.
5494 * sysdeps/unix/common/setrlimit.S: File removed.
5495 * sysdeps/unix/common/swapon.S: File removed.
5496 * sysdeps/unix/common/symlink.S: File removed.
5497 * sysdeps/unix/common/truncate.S: File removed.
5498 * sysdeps/unix/common/vhangup.S: File removed.
5499 * sysdeps/unix/inet/accept.S: File removed.
5500 * sysdeps/unix/inet/bind.S: File removed.
5501 * sysdeps/unix/inet/connect.S: File removed.
5502 * sysdeps/unix/inet/gethostid.S: File removed.
5503 * sysdeps/unix/inet/gethostname.S: File removed.
5504 * sysdeps/unix/inet/getpeername.S: File removed.
5505 * sysdeps/unix/inet/getsockname.S: File removed.
5506 * sysdeps/unix/inet/getsockopt.S: File removed.
5507 * sysdeps/unix/inet/listen.S: File removed.
5508 * sysdeps/unix/inet/recv.S: File removed.
5509 * sysdeps/unix/inet/recvfrom.S: File removed.
5510 * sysdeps/unix/inet/recvmsg.S: File removed.
5511 * sysdeps/unix/inet/send.S: File removed.
5512 * sysdeps/unix/inet/sendmsg.S: File removed.
5513 * sysdeps/unix/inet/sendto.S: File removed.
5514 * sysdeps/unix/inet/sethostid.S: File removed.
5515 * sysdeps/unix/inet/sethostname.S: File removed.
5516 * sysdeps/unix/inet/setsockopt.S: File removed.
5517 * sysdeps/unix/inet/shutdown.S: File removed.
5518 * sysdeps/unix/inet/socket.S: File removed.
5519 * sysdeps/unix/inet/socketpair.S: File removed.
5520 * sysdeps/unix/mman/madvise.S: File removed.
5521 * sysdeps/unix/mman/mmap.S: File removed.
5522 * sysdeps/unix/mman/mprotect.S: File removed.
5523 * sysdeps/unix/mman/msync.S: File removed.
5524 * sysdeps/unix/mman/munmap.S: File removed.
5525 * sysdeps/unix/sysv/alarm.S: File removed.
5526 * sysdeps/unix/sysv/ftime.S: File removed.
5527 * sysdeps/unix/sysv/nice.S: File removed.
5528 * sysdeps/unix/sysv/pause.S: File removed.
5529 * sysdeps/unix/sysv/poll.S: File removed.
5530 * sysdeps/unix/sysv/s_getdents.S: File removed.
5531 * sysdeps/unix/sysv/signal.S: File removed.
5532 * sysdeps/unix/sysv/stime.S: File removed.
5533 * sysdeps/unix/sysv/time.S: File removed.
5534 * sysdeps/unix/sysv/times.S: File removed.
5535 * sysdeps/unix/sysv/ulimit.S: File removed.
5536 * sysdeps/unix/sysv/uname.S: File removed.
5537 * sysdeps/unix/sysv/utime.S: File removed.
5538 * sysdeps/unix/sysv/irix4/getpgid.S: File removed.
5539 * sysdeps/unix/sysv/irix4/msync.S: File removed.
5540 * sysdeps/unix/sysv/irix4/setpgid.S: File removed.
5541 * sysdeps/unix/sysv/irix4/signal.S: File removed.
5542 * sysdeps/unix/sysv/irix4/sysmp.S: File removed.
5543 * sysdeps/unix/sysv/irix4/syssgi.S: File removed.
5544 * sysdeps/unix/sysv/isc2.2/rename.S: File removed.
5545 * sysdeps/unix/sysv/linux/adjtimex.S: File removed.
5546 * sysdeps/unix/sysv/linux/fork.S: File removed.
5547 * sysdeps/unix/sysv/linux/getpgid.S: File removed.
5548 * sysdeps/unix/sysv/linux/getpgrp.S: File removed.
5549 * sysdeps/unix/sysv/linux/getsid.S: File removed.
5550 * sysdeps/unix/sysv/linux/gtty.S: File removed.
5551 * sysdeps/unix/sysv/linux/mlock.S: File removed.
5552 * sysdeps/unix/sysv/linux/mlockall.S: File removed.
5553 * sysdeps/unix/sysv/linux/mount.S: File removed.
5554 * sysdeps/unix/sysv/linux/munlock.S: File removed.
5555 * sysdeps/unix/sysv/linux/munlockall.S: File removed.
5556 * sysdeps/unix/sysv/linux/pipe.S: File removed.
5557 * sysdeps/unix/sysv/linux/s_ptrace.S: File removed.
5558 * sysdeps/unix/sysv/linux/setpgid.S: File removed.
5559 * sysdeps/unix/sysv/linux/setsid.S: File removed.
5560 * sysdeps/unix/sysv/linux/settimeofday.S: File removed.
5561 * sysdeps/unix/sysv/linux/sigpending.S: File removed.
5562 * sysdeps/unix/sysv/linux/stty.S: File removed.
5563 * sysdeps/unix/sysv/linux/umount.S: File removed.
5564 * sysdeps/unix/sysv/linux/wait4.S: File removed.
5565 * sysdeps/unix/sysv/linux/i386/ipc.S: File removed.
5566 * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed.
5567 * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed.
5568 * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed.
5569 * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed.
5570 * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed.
5571 * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed.
5572 * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed.
5573 * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed.
5574 * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed.
5575 * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed.
5576 * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed.
5577 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed.
5579 * io/mknod.c: New file.
5581 * Makerules (COMPILE.s): New variable.
5583 * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with
5584 make-syscalls.sh and include it.
5585 [$(subdir)=misc] (sysdep_routines): Append extra syscalls from
5587 * sysdeps/unix/make-syscalls.sh: New file.
5589 * Makerules (COMPILE.S): New variable.
5591 Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5593 * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
5594 _STAT_VER_SVR4, _STAT_VER): New macros.
5595 (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros.
5597 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
5600 * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros.
5601 (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions.
5602 [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names)
5603 as `extern inline's calling the `x' functions.
5604 * io/fstat.c: New file.
5605 * io/lstat.c: New file.
5606 * io/stat.c: New file.
5607 * sysdeps/generic/lstat.c: File removed.
5608 * sysdeps/generic/lxstat.c: New file.
5609 * sysdeps/mach/hurd/fstat.c: File removed.
5610 * sysdeps/mach/hurd/fxstat.c: New file.
5611 * sysdeps/mach/hurd/lstat.c: File removed.
5612 * sysdeps/mach/hurd/lxstat.c: New file.
5613 * sysdeps/mach/hurd/mknod.c: File removed.
5614 * sysdeps/mach/hurd/stat.c: File removed.
5615 * sysdeps/mach/hurd/xmknod.c: New file.
5616 * sysdeps/mach/hurd/xstat.c: New file.
5617 * sysdeps/stub/fstat.c: File removed.
5618 * sysdeps/stub/fxstat.c: New file.
5619 * sysdeps/stub/lstat.c: File removed.
5620 * sysdeps/stub/lxstat.c: New file.
5621 * sysdeps/stub/mknod.c: File removed.
5622 * sysdeps/stub/stat.c: File removed.
5623 * sysdeps/stub/xmknod.c: New file.
5624 * sysdeps/stub/xstat.c: New file.
5625 * sysdeps/unix/common/lstat.S: File removed.
5626 * sysdeps/unix/common/lxstat.c: New file.
5627 * sysdeps/unix/fstat.S: File removed.
5628 * sysdeps/unix/fxstat.c: New file.
5629 * sysdeps/unix/mknod.S: File removed.
5630 * sysdeps/unix/stat.S: File removed.
5631 * sysdeps/unix/sysv/linux/fstat.c: File removed.
5632 * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed.
5633 * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed.
5634 * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed.
5635 * sysdeps/unix/sysv/linux/i386/xstat.S: File removed.
5636 * sysdeps/unix/sysv/linux/lstat.c: File removed.
5637 * sysdeps/unix/sysv/linux/mknod.c: File removed.
5638 * sysdeps/unix/sysv/linux/stat.c: File removed.
5639 * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed.
5640 * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed.
5641 * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed.
5642 * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed.
5643 * sysdeps/unix/xmknod.c: New file.
5644 * sysdeps/unix/xstat.c: New file.
5645 * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod.
5646 * misc/Makefile (routines): Remove mknod.
5648 * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan):
5649 Add missing ; in little-endian case.
5651 * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
5652 Define this instead of ELF_DYNAMIC_DO_RELA.
5654 * sysdeps/unix/sysv/time.S: Moved from sysv4.
5655 * sysdeps/unix/sysv/irix4/time.S: File removed.
5657 * sysdeps/unix/sysv/linux/signum.h: Moved from
5658 sysdeps/unix/sysv/linux/i386.
5659 (_NSIG): Move inside #ifdef _SIGNAL_H.
5661 Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5663 * sysdeps/unix/seekdir.c: Don't modify POS before seeking.
5664 * sysdeps/unix/telldir.c: Fix position calculation to account for
5665 buffered data properly.
5667 * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
5670 * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
5671 * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
5673 [! HAVE_INITFINI]: Only make it a constructor in this case.
5675 * gmon/Makefile (CFLAGS-mcount.c): New variable.
5676 (mcount.po): New target.
5678 * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
5680 * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
5681 (initfini): Compile initfini.c with -fPIC.
5683 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
5685 * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle.
5687 * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
5688 member of `struct timex' instead of `modes'. From Andreas Schwab.
5690 * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version.
5691 * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.
5693 * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
5694 [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
5695 [$(subdir) = misc] (headers): Append sys/mount.h.
5697 * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
5698 New files. Implement system calls.
5699 * sysdeps/unix/sysv/linux/sys/mount.h: New header file.
5701 * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around
5703 * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.
5705 * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
5706 types for i386/Linux.
5708 Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5710 * MakeTAGS (all-sources, all-headers): Always search the
5711 current directory first.
5713 * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
5716 * stdio-common/vfscanf.c (inchar, conv_error, input_error,
5717 memory_error): Add cast to void to avoid gcc warning.
5718 (vfscanf): Rewrite character class parsing to make it more efficient.
5720 * misc/efgcvt_r.c (ecvt_r): Handle negative values.
5722 * stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
5723 * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
5724 sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.
5726 * stdio-common/printf_fp.c (__printf_fp): Fix parameter
5729 * sysdeps/generic/putenv.c (putenv): Fix second argument of
5732 * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
5733 * sysdeps/ieee754/cabs.c: Don't define hypot here.
5735 * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
5736 definition of ieee_nan alternative.
5738 * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
5741 * sysdeps/m68k/ffs.c (ffs): Fix register constraint.
5743 * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete
5744 __CONSTVALUE by attribute.
5745 (floor): Round to negative infinity.
5746 (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
5747 clash when compiling source.
5748 (pow): Handle x == 0 and x < 0.
5749 (ceil, __isinf, __isnan): Fix register constraints.
5750 (__isinfl, __isnanl): Added.
5751 * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
5752 sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
5753 sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.
5755 * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
5758 * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
5761 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
5763 (clock): Don't multiply by CLOCKS_PER_SEC.
5765 * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.
5767 * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
5770 * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.
5772 * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.
5774 * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
5776 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
5778 * stdlib/strtol.c: Return correct pointer for strings
5779 like "0xyz" and base 0 or 16.
5781 * string/strxfrm.c: Handle case for LENGTH == 0 correct.
5783 * sunrpc/etc.rpc: Add some more known protocols.
5785 Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5787 * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h.
5789 * posix/glob.c (glob): Add parens in glob call flags arg for
5792 * string/string.h (strdupa): New macro.
5794 * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not
5795 terminator on empty set. From drepper.
5797 Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5799 * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
5800 referent for STB_LOCAL.
5802 Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5804 * time/africa, time/antarctica, time/asia, time/australasia,
5805 time/europe, time/northamerica, time/pacificnew, time/solar87,
5806 time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
5808 Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5810 * elf/dl-load.c (_dl_map_object_from_fd): After mapping first
5811 segment to find location, mprotect excess region to no access,
5814 * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns
5815 KERN_NO_SPACE for fixed location, deallocate it and try again.
5817 Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5819 * locale/Makefile (lib-modules): Renamed hash to locfile-hash.
5820 * locale/hash.c: Renamed to locale/locfile-hash.c.
5822 Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5824 * Makefile (subdirs): Added db.
5826 * resolv/Makefile (routines): Add res_data.
5827 * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h:
5828 Updated from BIND 4.9.3 final release.
5830 * elf/dynamic-link.h (elf_get_dynamic_info): Handle
5831 processor-specific tags.
5832 (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag.
5834 * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros.
5835 * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM.
5837 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new
5838 arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record.
5839 * elf/dl-reloc.c (_dl_relocate_object): Call
5840 elf_machine_runtime_setup unconditionally, and pass it LAZY flag.
5842 * elf/dl-load.c: Fixed ELFMAG check to work for either byte order.
5843 Align end of load segment only to page size, not to segment alignment.
5845 Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5847 * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new
5848 preemption interface.
5850 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5851 Use _hurdsig_catch_memory_fault.
5853 * hurd/Makefile (headers): Add hurd/sigpreempt.h.
5854 (sig): Add catch-signal.
5856 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5857 Rewritten using a preempter in new interface.
5858 * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise.
5859 (_hurdsig_catch_memory_fault): New macro.
5861 Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5863 * hurd/catch-signal.c: New file.
5865 * hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
5867 * hurd/hurdsig.c: Use new hurdfault.h interface.
5868 (abort_all_rpcs): Mutate return value to EINTR in threads whose
5869 replies we will wait for.
5871 * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
5874 Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
5876 * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
5877 to auth_makeauth() in the right order.
5879 Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5881 * sysdeps/generic/strsep.c: Rewritten.
5883 * sysdeps/mach/hurd/fork.c: Use a different workaround for the
5884 suspended page fault deadlock kernel bug: thread_abort our signal
5885 thread first thing after proc_dostop.
5887 * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
5888 recognize rootness properly.
5890 Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5892 * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
5893 (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed.
5894 * hurd/hurd/sigpreempt.h: New file.
5895 * hurd/preempt-sig.c: Rewritten with new interface.
5896 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal
5897 preempters being unwound past.
5898 * hurd/hurdsig.c: Use new signal preemption interface.
5900 * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85
5903 * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD
5906 * misc/queue.h: New file, incorporated from 4.4BSD.
5907 * misc/Makefile (headers): Add queue.h.
5909 * posix/sys/types.h [__USE_BSD]: Include endian.h.
5911 * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE):
5914 Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5916 * sysdeps/generic/confname.h: Define all names as self-referential
5917 macros so #ifdef works.
5919 * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt
5920 of _hurd_signal_preempters[SIGNO].
5922 Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5924 * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
5925 EADDRINUSE. If translated node doesn't grok ifsock protocol,
5928 * sysdeps/mach/hurd/connect.c: Make address arg
5929 `const struct sockaddr_un *'.
5930 The redecl is kosher and avoids another variable for AF_LOCAL case.
5931 * sysdeps/mach/hurd/sendto.c: Likewise.
5932 * sysdeps/mach/hurd/bind.c: Likewise.
5934 * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union
5935 code for GCC >= 2.7; use __transparent_union__ for name safety;
5936 add several sockaddr flavors.
5937 (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in
5938 constructing the transparent union declarations.
5939 (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
5940 (bind, connect, sendto): Make the sockaddr argument use that.
5942 Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5944 * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
5946 * sysdeps/mach/hurd/setuid.c: Likewise.
5948 * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the
5950 * sysdeps/mach/hurd/setgid.c: Likewise.
5951 * sysdeps/mach/hurd/setreuid.c: Likewise.
5952 * sysdeps/mach/hurd/setregid.c: Likewise.
5953 * sysdeps/mach/hurd/setegid.c: Likewise.
5954 * sysdeps/mach/hurd/seteuid.c: Likewise.
5956 * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before
5957 proc_dostop call to work around kernel paging bug.
5959 Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>
5961 * stdio-common/vfscanf.c: Correctly handle white space skipping.
5962 * stdio-common/Makefile (tests): Add bug11.
5963 * stdio-common/bug11.c: New file.
5965 Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu>
5967 * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid
5968 instead of putting it (and other uids) in the gids and leaving the
5971 Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5973 * stdio/internals.c (flushbuf): If the target is -1, always
5974 discard the buffer of read data.
5975 Only set TWIDDLED flag in !ALIGNED case.
5976 Never increment target or offset when old value is -1.
5978 Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5980 * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
5983 Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5985 * stdio/fread.c: Don't increment __offset when it's -1.
5987 * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit
5990 * misc/err.c (vwarnx, vwarn): Fix major brainos.
5992 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of
5995 Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>
5997 * misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
5999 Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6001 * Makerules: Use $(do-install-so) for installing shared objects.
6002 (do-install-so): New canned sequence. Make a symlink LIB.so after
6003 installing LIB.so.VERSION.
6005 * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
6007 Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6009 * stdio-common/Makefile (tests): Add bug10.
6010 * stdio-common/bug10.c: New file. From HJ Lu.
6012 * stdio-common/tstdiomisc.c: Make more test-suite like: exit
6013 status tells about successful run.
6015 * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
6017 Correct handling of trailing white spaces in format + EOF.
6019 Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6021 * stdio-common/Makefile (tests): Add bug8 and bug9.
6022 * stdio-common/bug8.c, stdio-common/bug9.c: New tests.
6024 * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
6026 * stdlib/strtod.c: Correct spelling: nominator -> numerator.
6027 Thanks to Jim Meyering.
6029 Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
6031 * stdio-common/vfscanf.c: Always check width !=0.
6032 Correctly handle %%.
6034 Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6036 * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
6037 and cast STREAM to DIR * before passing to readdir and closedir.
6039 Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6041 * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
6042 after aborting RPCs but before calling proc_mark_stop.
6044 Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6046 * posix/glob.c [! STDC_HEADERS]: Declare getenv.
6047 (glob): Avoid using function as value.
6049 * elf/rtld.c (dl_main): When mapping argument executable, set
6050 l_name to "", not l_libname.
6051 After loading DT_NEEDED library, set its l_type to lt_library.
6053 * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
6054 VM_INHERIT. We can't handle MAP_INHERIT easily.
6055 Handle non-page-aligned addresses if congruent to offset.
6057 * elf/dl-init.c: Skip the initializer for l_type lt_executable
6058 with l_name "". Start at _dl_loaded; don't skip the first element.
6060 * elf/dl-load.c (MAP_FILE): Define to zero if undefined.
6061 (MAP_COPY): Define to MAP_PRIVATE if undefined.
6062 (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
6063 If file it ET_EXEC, set its l_type to lt_executable.
6065 Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6067 * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
6069 Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6071 * locale/error.c, locale/error.h: Files removed.
6072 * locale/Makefile (distribute): Remove error.h.
6073 (lib-modules): Remove error.
6075 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
6076 magic, return ENXIO if no ctty.
6078 * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
6079 mapping if vm_map fails for that reason.
6081 * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE,
6082 GLOB_TILDE, GLOB_NOMAGIC.
6083 (glob): Use stat instead of lstat to determine directoriness.
6084 * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE):
6086 (__GLOB_FLAGS): Include them.
6087 (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat,
6090 * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros.
6092 * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to
6093 define all the bit values.
6094 (MAP_*, MCL_*): Macros removed.
6096 Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6098 * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
6099 Updated from BIND 4.9.3-BETA27.
6101 Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
6103 * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
6105 * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
6106 we get a delayed reply.
6107 Only grab values out of entries in TYPES that have SELECT_RETURNED
6108 turned on, and turn it on whenever an rpc returns.
6109 Only clear bits in the user's fdsets -- those needing to be set
6111 Use SELECT_ALL in appropiate places.
6112 (SELECT_RETURNED, SELECT_ALL): New macros.
6114 Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6116 * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
6118 * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
6120 Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6122 * misc/Makefile (headers): Add error.h, err.h.
6123 (routines): Add error, err.
6124 (gpl2lgpl): New variable.
6125 * misc/err.c: New file.
6126 * misc/err.h: New file.
6127 * misc/error.c, misc/error.h: New files.
6129 * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
6131 * Makeconfig (+link): Translate libc% from $^, not just libc.a.
6132 (link-libc): Append $(libc.so-version) to libc.so.
6133 (built-program-cmd): Fix comma usage.
6134 * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
6135 symlink to libc.so in the build directory.
6136 * Rules ($(others) $(tests)): Depend on the library that appears
6138 (%.out): Use $(built-program-cmd) in commands.
6140 * posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
6142 * sysdeps/generic/setenv.c: Added canonical portability cruft.
6143 (setenv): Use realloc on LAST_ENVIRON instead of always copying.
6144 (unsetenv): New function.
6145 * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
6146 * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
6148 Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6150 * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
6152 * libio/iofscanf.c: Remove file.
6154 * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string
6157 * libio/iopopen.c: New file from GNU libio.
6159 * libio/memstream.c: Fixed bug in fclose handling. Instead of
6160 providing a close callback we need a finish callback.
6162 * libio/pclose.c: New file. Derived from popen.c in GNU libio.
6164 * posix/gnu/types.h: Fixed typo.
6166 * stdio-common/errnobug.c: fputs returns EOF in error case. Do
6169 * stdio-common/printf-parse.h (parse_one_spec): Do not force
6170 padding with ' ' if precision is given. Fix by HJ Lu.
6172 * stdio-common/printf_fp.c: Fix comment.
6174 * stdio-common/tfformat.c, stdio-common/tiformat.c,
6175 stdio-common/tstdiomisc.c: New files from GNU libio test suite.
6177 * stdio-common/tstgetln.c: Provide ssize_t type when testing
6180 * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc.
6181 (vfprintf): Cleasr args_type array before using it.
6182 When printing 0 as an integer with precision 0 nothing must be
6183 written for the number.
6184 Based on patch by HJ Lu.
6186 * stdio-common/vfscanf.c: Remove fixed input buffer. Now we
6187 have a dynamically extended buffer.
6189 * stdlib/strtod.c: Merge with version in Linux libc. This fixes
6190 some bugs with handling of very small numbers and has different
6191 solution for formaer patches.
6193 * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename
6194 macros r1 and r2 to t1, and t2 resp. This is necessary because
6195 glibc headers also define r1.
6197 Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6199 * stdlib/gen-mpn-copy (translations): Updated for new layout in
6202 * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
6204 (malloc): Caller changed.
6205 * malloc/realloc.c (realloc): Call __malloc_initialize if
6206 necessary, before checking hook.
6207 * malloc/malloc.h: Declare __malloc_initialize.
6209 * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
6210 as integer_t arg in RPC.
6212 Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6214 * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
6215 (_hurd_set_brk): Try to allocate more space when we run out.
6217 * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with
6218 zero and examine it again.
6219 * sysdeps/unix/sysv/linux/i386/brk.c: New file.
6220 * sysdeps/unix/sysv/linux/i386/brk.S: File removed.
6221 * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed.
6222 * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
6223 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]:
6224 Invoke this macro before calling DL_MAIN.
6226 * malloc/malloc.c (malloc): Do initialization here, before
6228 (_malloc_internal): Don't do it here.
6230 Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6232 * libio/vsnprintf.c (__vsnprintf): Define as alias.
6233 * libio/iovsscanf.c (__vsscanf): Define as alias.
6234 * asprintf.c: Remove libio adaptation code added by drepper.
6235 * dprintf.c: Likewise.
6236 * printf.c: Likewise.
6237 * scanf.c: Likewise.
6238 * snprintf.c: Likewise.
6239 * sprintf.c: Likewise.
6240 * sscanf.c: Likewise.
6241 * vprintf.c: Likewise.
6242 * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper
6244 (vfscanf): Define unconditionally.
6246 * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use
6249 * misc/getpass.c: Write a newline after reading the unechoed
6252 Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6254 * posix/Makefile (routines): Add getsid.
6255 * sysdeps/unix/sysv/linux/getsid.S: New file.
6256 * sysdeps/mach/hurd/getsid.c: New file.
6257 * sysdeps/stub/getsid.c: New file.
6258 * posix/unistd.h [__USE_GNU]: Declare getsid.
6260 Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6262 * libc-symbols.h (N_): New macro.
6264 Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6266 * assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
6267 malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
6268 resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
6269 sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
6270 sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
6271 sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
6272 sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
6273 sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
6276 Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6278 * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
6280 Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6282 * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
6284 * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
6285 mlock, munlock, mlockall, and munlockall.
6287 Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6289 * configure.in (--enable-libio): Set $stdio based on $enableval,
6290 not always to libio.
6292 Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
6294 * malloc/malloc.c (_malloc_internal): Can't use
6295 get_contiguous_space when the heap info table
6296 will be growing. Account for new contiguous space in _heaplimit.
6298 Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6300 * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
6303 * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
6304 alias for _IO_vfprintf.
6306 * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
6308 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
6309 __fpu_control instead of ___fpu_control.
6310 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c
6311 (___fpu_control): Renamed to __fpu_control.
6312 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
6313 * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
6315 * elf/dl-minimal.c: New file.
6316 * elf/Makefile (rtld-routines): Add dl-minimal.
6317 * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
6318 Functions moved to dl-minimal.c.
6319 * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
6320 sigjmp_save, longjmp): Likewise.
6322 * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
6323 to &_end, regardless of PIC.
6325 * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
6327 Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6329 * malloc/malloc.c (align): Don't check contiguity and call abort.
6331 * hurd/hurdsig.c (post_reply): Function removed.
6332 (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
6333 Take single callback fn arg instead of reply port and type.
6334 (_hurd_internal_post_signal): Callers changed.
6335 Cache reply stub fn ptr in local var before UNTRACED might be changed.
6337 * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
6338 PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to
6341 * elf/rtld.c (_dl_start): For --list, do output and exit before
6344 Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6346 * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
6347 get .c and .h files.
6349 * malloc/malloc.c (align): Use abort instead of assert.
6351 Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6353 * Makeconfig (+includes): Add $($(stdio)-include).
6354 (libio-include): New variable.
6356 * stdlib/strtod.c: Put weak_symbol after function defn.
6357 * stdlib/strtol.c: Likewise.
6359 * configure.in (--enable-libio): If not present, set $stdio to
6360 "default". Move stdio/libio check to end, so sysdeps fragments
6361 can affect it. Reset $stdio to "stdio" if it's "default".
6362 * sysdeps/unix/sysv/linux/configure: New file.
6364 Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6366 * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
6367 libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
6368 libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
6369 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
6370 libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
6371 libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
6372 libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
6373 libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
6374 libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
6375 libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
6376 libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
6377 libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
6378 libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
6379 libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
6380 libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
6381 New files. Slightly modified version from Linux libc.
6383 * libio/memstream.c, libio/vdprintf.c: New files for functions not
6384 (yet) part of GNU libio.
6386 * libio/iofopncook.c: Implementation of `fopencookie', mainly written
6389 * stdio-common/getline.c: Adapted to libio.
6390 * stdio-common/snprintf.c: Adapted to libio.
6391 * stdio-common/vfprintf.c: Adapted to libio.
6392 * stdio-common/vfscanf.c: Adapted to libio.
6393 * sysdeps/posix/tempname.c: Adapted to libio.
6395 Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6397 * sysdeps/generic/Makefile (make_siglist): Add missing backslash.
6399 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
6402 * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
6403 (_hurdsig_fault_init): Remove #if 0 from setting exception port.
6404 Insert send right for SIGEXC before thread_set_special_port.
6405 * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
6406 (_hurdsig_init): Remove #if 0 from setting exception port.
6408 * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
6409 HURD_MSGPORT_RPC macro.
6411 Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6413 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
6415 (_dl_sysdep_start): Move cleanup code there.
6417 * Makeconfig (default-rpath): New variable.
6418 (link-libc): Use it.
6419 * elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
6420 * elf/rtld.c (_dl_rpath): New variable.
6421 (_dl_start): Set it from rtld_map's DT_RPATH.
6422 Call _dl_setup_hash on rtld_map.
6423 (dl_main): Cache address of _exit in variable before relocating,
6424 and use that in later calls. Call _dl_sysdep_start_cleanup before
6425 relocating. Keep track of dependency order while loading; remove
6426 rtld_map from chain, and reinsert in proper order if there is a
6429 * sysdeps/generic/Makefile (make_siglist): Pass
6430 -DSIGNUM_H=... with config's signum.h location.
6431 * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
6433 (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
6434 (main): Deansideclize output.
6436 * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
6437 of DEFAULT_RPATH macro.
6438 * elf/Makefile: Undo last change.
6440 * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
6442 Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6444 * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no
6447 * elf/Makefile (default-rpath): New variable.
6448 (CPPFLAGS): Append -DDEFAULT_RPATH=....
6449 * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
6450 hard-coded "/lib:/usr/lib".
6452 * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
6454 (_dl_sysdep_start): If passed user entry is zero and
6455 EXEC_STACK_ARGS flag set, reset user entry to &_start.
6457 * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
6460 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
6461 repeat weak decl using weak_symbol macro, in case using broken GCC
6464 Wed Nov 15 18:49:55 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6466 * sysdeps/i386/isnanl.c: New file.
6467 * sysdeps/i386/isinfl.c: New file.
6469 Tue Nov 14 18:44:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6471 * malloc/free.c (free): Moved null and aligned_blocks checks
6472 inside _free_internal.
6474 Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6476 * malloc/malloc.c (morecore): Fix inverted test in allocating new
6479 * malloc/malloc.c (align): Fix assertion.
6481 * malloc/malloc.c: Include assert.h.
6483 * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.
6485 * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
6486 (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
6488 Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6490 * malloc/malloc.c (align): Assert that space for alignment
6491 adjustment is same original space.
6493 * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
6494 arg to vm_address_t.
6496 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
6497 skip straight to pending check. When UNTRACED, resume process
6498 from suspension first.
6500 * intl/Makefile (headers): New variable, libintl.h.
6501 [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
6502 * configure.in: Check for --with-gettext arg.
6504 Fri Nov 10 13:51:30 1995 Richard Stallman <rms@gnu.ai.mit.edu>
6506 * malloc/malloc.c (get_contiguous_space): New function.
6507 (morecore): Rewrite allocating new malloc info table.
6508 (_malloc_internal): Use get_contiguous_space.
6510 Fri Nov 10 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6512 * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
6513 _hurd_msgport to be destroyed.
6515 * Makerules (installed-libcs): Filter out %_pic.a.
6517 * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
6518 to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
6520 * hurd/Makefile (user-interfaces): Add hurd/process_request.
6522 Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6524 * termios/Makefile (headers): Add sys/ttychars.h.
6525 * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
6528 * signal/signal.h [__USE_BSD] (sig_t): New typedef.
6530 Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
6532 * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
6533 proc server that we are now traced.
6535 Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6537 * elf/Makefile (ldd): Make it executable.
6539 * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir).
6541 * Makeconfig (slibdir): New variable.
6542 * Makerules (install): Install libc.so in $(slibdir).
6543 * elf/Makefile (install-others): Install ld.so and ld-linux.so.1
6546 * elf/linux-compat.c: New file.
6547 * elf/Makefile (distribute): Add linux-compat.c.
6548 (generated): Add librtld.so.
6549 [$(config-os)=linux*] (extra-objs): Add linux-compat.so.
6550 [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
6551 (librtld.so): New target.
6552 (ld.so, ld-linux.so.1): Make from librtld.so.
6554 * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
6555 call our own DT_INIT if we have one (and then clear it).
6556 (__dgettext): New weak function.
6558 * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
6561 * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
6562 instead of snprintf.
6564 * sysdeps/mach/_strerror.c (_strerror_internal): Don't write
6567 * elf/rtld.c (rtld_map): New static variable.
6568 (_dl_start): Use a differently named local BOOTSTRAP_MAP for the
6569 bootstrapping. Then copy data into `rtld_map'.
6570 (dl_main): Finish filling in rtld_map and link it into the chain,
6571 instead of allocating a new structure.
6572 (dl_main): Call _dl_compat_init if it is defined (use weak ref).
6574 * elf/dlsym.c: Fix last change: move REF out of `doit'.
6576 Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6578 * elf/dlsym.c: Return the proper value, not just the defining
6581 Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6583 * stdio-common/vfprintf.c (%c): Count the character itself towards
6584 the field width in all cases.
6586 * sysdeps/mach/hurd/getpriority.c (getpriority): Cast
6587 __vm_deallocate arg to vm_address_t.
6589 Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6591 * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
6592 socket_create_address.
6593 * sysdeps/mach/hurd/connect.c: Likewise.
6594 * sysdeps/mach/hurd/bind.c: Likewise.
6596 * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits
6597 args to proc_getprocinfo.
6598 * sysdeps/mach/hurd/getpriority.c: Likewise.
6600 * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
6602 Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6604 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common.
6606 Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6608 * sysdeps/mach/hurd/getpriority.c (getpriority): Pass
6609 PI_FETCH_TASKINFO to proc_getprocinfo and through
6610 _hurd_priority_which_map.
6612 * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
6613 _hurd_priority_which_map.
6614 * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
6615 passed through to proc_getprocinfo RPC.
6616 * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
6618 * sysdeps/mach/hurd/group_member.c: New file.
6619 * sysdeps/generic/group_member.c: New file.
6621 * Makerules (lib-noranlib): Don't depend on $(install-lib).
6623 * extra-lib.mk: Fix test of $(lib)-no-lib-dep.
6625 Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6627 * Rules (others): Depend on $(extra-objs).
6629 * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
6630 * posix/Makefile (routines): Add group_member.
6632 * sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
6634 * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
6635 SIG operand in asm so it must be a register.
6636 Add dead return to quiet gcc warning.
6638 * Makerules (sysd-rules): Write a defn for sysd-rules-done.
6639 [! sysd-rules-done]: Inhibit deps.
6641 Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6643 * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use
6644 simulation of system call using select.
6646 * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation.
6648 * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
6650 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter
6651 name usage (new->act, old->oact).
6652 Correct asm statement because of gcc strangeness.
6654 * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb.
6656 * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They
6657 conflict with the ones in stdio.h.
6659 * string/tester.c: %Z is no complete format. Change to %Zd.
6661 Thu Oct 26 18:13:33 1995 Miles Bader <miles@gnu.ai.mit.edu>
6663 * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link.
6664 * sysdeps/mach/hurd/link.c (__link): Ditto.
6665 * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
6666 * sysdeps/mach/hurd/mknod.c (__mknod): Ditto.
6667 Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h".
6669 Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6671 * sysdeps/unix/sysv/linux/i386/sigaction.c: New file.
6673 * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro
6674 on syscall_error. For PIC, it is a local label;
6675 for non-PIC, JUMPTARGET expands to the unadorned name anyway.
6676 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
6677 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6678 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6679 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
6680 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6681 * sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
6683 Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6685 * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in
6686 comment to the necessary ones. Add _readv and _writev.
6688 * sysdeps/unix/configure.in: Change syntax for system call test
6689 candidates and adapt sed script for this. Now use : to separate
6690 syscall name and file name.
6692 * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call
6693 number is now set is DO_CALL. So call with additional argument.
6694 (DO_CALL): Takes an additional argument. Load system call
6695 number according to new argument.
6696 (SYSCALL_ERROR_HANDLER): Add ; after last ret statement.
6697 * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error
6698 locally using SYSCALL_ERROR_HANDLER macro.
6699 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6700 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
6701 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6702 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
6703 * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise.
6704 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6705 Don't use DO_CALL macro; instead use lower level macros for better
6708 * sysdeps/unix/sysv/linux/sigaction.h: New file.
6709 * sysdeps/unix/sysv/linux/sigaction.S: File removed.
6710 * sysdeps/unix/sysv/linux/signal.S: File removed.
6712 Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6714 * hurd/hurdstartup.c (_hurd_startup): Use new
6715 exec_startup_get_info RPC from exec_startup.defs
6716 in place of old exec_startup from exec.defs. Remove kludge to
6717 guess user entry and phdr locations, since the new RPC gives us
6720 * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const.
6721 * sysdeps/generic/_strerror.c: Undo last change.
6723 * sysdeps/unix/sysv/linux/stat.c: New file.
6724 * sysdeps/unix/sysv/linux/fstat.c: New file.
6725 * sysdeps/unix/sysv/linux/lstat.c: New file.
6726 * sysdeps/unix/sysv/linux/i386/stat.S: File removed.
6727 * sysdeps/unix/sysv/linux/i386/fstat.S: File removed.
6728 * sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
6730 Tue Oct 24 15:22:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6732 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6734 (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error.
6736 * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define
6739 * Makeconfig (built-program-cmd): New variable.
6740 * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd).
6741 * time/Makefile (zic-cmd): Likewise.
6743 * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
6745 * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
6746 * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
6747 make `others' rather than `lib-noranlib' depend on the libraries.
6749 * sysdeps/unix/configure.in: Check for fchdir syscall.
6750 Improve sed script to allow / on rhs without / on lhs.
6752 Thu Oct 19 03:47:32 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6754 * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants.
6756 * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio.
6758 * sysdeps/unix/sysv/linux/select.S: New file.
6760 Wed Oct 18 03:33:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6762 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use
6763 SYSCALL_PIC_SETUP before jumping to syscall_error.
6764 * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro.
6765 (PSEUDO): Use it before jumping to syscall_error.
6766 * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address;
6767 expect it in %ebx on entry. Pop old %ebx value off stack after
6770 * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
6773 * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr.
6775 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
6776 `fd/', pass the right pointer to strtol to parse the number.
6778 Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6780 * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead
6783 Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6785 * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT
6786 register %ebx before calling __xstat through PLT.
6788 * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment.
6790 * sysdeps/unix/sysv/linux/sigset.h: Remove file.
6792 Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6794 * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
6796 * hurd/hurdlookup.c: Likewise.
6798 * hurd/hurd/signal.h: Declare hurd_preempt_signals and
6799 hurd_unpreempt_signals.
6801 * stdio/stdio.h: Declare __snprintf and __vsnprintf.
6803 * stdio-common/psignal.c: Translate signal description strings.
6804 * string/strsignal.c: Likewise.
6805 * sysdeps/generic/_strerror.c (_strerror_internal): Translate
6807 * sysdeps/mach/_strerror.c: Likewise.
6809 * stdio-common/snprintf.c (__snprintf): Renamed from snprintf;
6811 (snprintf): Define as weak alias.
6812 * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf.
6813 (vsnprintf): Define as weak alias.
6815 Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6817 * Makerules (install-lib): Filter out %_pic.a; install only the
6818 linked shared objects.
6820 * locale/Makefile (aux): Add SYS_libc.
6821 * locale/SYS_libc.c: New file.
6822 * libc-symbols.h [! ASSEMBLER] (_): New macro.
6824 * configure.in (libc_cv_asm_set_directive): Link program into
6825 conftest instead of letting it default to a.out.
6827 * elf/Makefile (install-others): Add missing slash.
6829 * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so
6830 won't search LD_LIBRARY_PATH.
6832 * Makefile (subdirs): Replace stdio with stdio-common and $(stdio).
6833 * configure.in: Grok arg --enable-libio.
6834 ($stdio = libio): Define USE_IN_LIBIO.
6835 * config.h.in (USE_IN_LIBIO): Add #undef.
6836 * config.make.in (stdio): New variable, set by configure.
6837 * Makeconfig (stdio): New variable.
6838 * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of
6840 * stdio-common/Makefile: New file.
6841 * stdio/Makefile: Half the contents moved to stdio-common/Makefile.
6842 * stdio/_itoa.c: Moved to stdio-common.
6843 * stdio/_itoa.h: Moved to stdio-common.
6844 * stdio/asprintf.c: Moved to stdio-common.
6845 * stdio/bug1.c: Moved to stdio-common.
6846 * stdio/bug1.input: Moved to stdio-common.
6847 * stdio/bug2.c: Moved to stdio-common.
6848 * stdio/bug3.c: Moved to stdio-common.
6849 * stdio/bug4.c: Moved to stdio-common.
6850 * stdio/bug5.c: Moved to stdio-common.
6851 * stdio/bug6.c: Moved to stdio-common.
6852 * stdio/bug6.input: Moved to stdio-common.
6853 * stdio/bug7.c: Moved to stdio-common.
6854 * stdio/dprintf.c: Moved to stdio-common.
6855 * stdio/errnobug.c: Moved to stdio-common.
6856 * stdio/getline.c: Moved to stdio-common.
6857 * stdio/getw.c: Moved to stdio-common.
6858 * stdio/perror.c: Moved to stdio-common.
6859 * stdio/printf-parse.h: Moved to stdio-common.
6860 * stdio/printf-prs.c: Moved to stdio-common.
6861 * stdio/printf.c: Moved to stdio-common.
6862 * stdio/printf.h: Moved to stdio-common.
6863 * stdio/printf_fp.c: Moved to stdio-common.
6864 * stdio/psignal.c: Moved to stdio-common.
6865 * stdio/putw.c: Moved to stdio-common.
6866 * stdio/reg-printf.c: Moved to stdio-common.
6867 * stdio/scanf.c: Moved to stdio-common.
6868 * stdio/snprintf.c: Moved to stdio-common.
6869 * stdio/sprintf.c: Moved to stdio-common.
6870 * stdio/sscanf.c: Moved to stdio-common.
6871 * stdio/tempnam.c: Moved to stdio-common.
6872 * stdio/temptest.c: Moved to stdio-common.
6873 * stdio/test-fseek.c: Moved to stdio-common.
6874 * stdio/test-fwrite.c: Moved to stdio-common.
6875 * stdio/test-popen.c: Moved to stdio-common.
6876 * stdio/test_rdwr.c: Moved to stdio-common.
6877 * stdio/tmpfile.c: Moved to stdio-common.
6878 * stdio/tmpnam.c: Moved to stdio-common.
6879 * stdio/tst-fileno.c: Moved to stdio-common.
6880 * stdio/tst-printf.c: Moved to stdio-common.
6881 * stdio/tstgetln.c: Moved to stdio-common.
6882 * stdio/tstgetln.input: Moved to stdio-common.
6883 * stdio/tstscanf.c: Moved to stdio-common.
6884 * stdio/tstscanf.input: Moved to stdio-common.
6885 * stdio/vfprintf.c: Moved to stdio-common.
6886 * stdio/vfscanf.c: Moved to stdio-common.
6887 * stdio/vprintf.c: Moved to stdio-common.
6888 * stdio/xbug.c: Moved to stdio-common.
6889 * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir
6890 stdio-common instead of stdio.
6891 * sysdeps/unix/Makefile (errlist.c rules): Likewise.
6892 * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive
6894 * stdio-common/dprintf.c: Likewise.
6895 * stdio-common/printf.c: Likewise.
6896 * stdio-common/scanf.c: Likewise.
6897 * stdio-common/snprintf.c: Likewise.
6898 * stdio-common/sprintf.c: Likewise.
6899 * stdio-common/sscanf.c: Likewise.
6900 * stdio-common/vprintf.c: Likewise.
6902 * Makerules: Include $(+depfiles) directly instead of generating
6904 (depend-$(subdir)): Target removed.
6905 (common-clean): Don't remove depend-$(subdir).
6907 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable.
6908 (config-LDFLAGS): Variable removed.
6910 * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
6911 * sysdeps/mach/hurd/bind.c: Likewise.
6912 * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
6915 * hurd/hurdexec.c: Undo last change (10 Oct 95).
6917 Sun Oct 15 21:04:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6919 * hurd/hurd/lookup.h: New file.
6920 * hurd/hurdlookup.c (__file_name_lookup_under): New function.
6921 (__hurd_file_name_lookup, __hurd_file_name_lookup_retry,
6922 __hurd_file_name_split): Rewritten to take callback functions for
6923 using any needed init or dtable port, instead of passing in crdir
6925 (__file_name_lookup, __file_name_split): Use new calling
6926 convention; pass _hurd_ports_use and __getdport as the callback
6929 * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
6930 of __hurd_file_name_lookup.
6931 * sysdeps/mach/hurd/chdir.c: Likewise.
6932 * sysdeps/mach/hurd/fchdir.c: Likewise.
6933 * hurd/fchroot.c: Likewise.
6935 * stdlib/Makefile (mpn-found): Don't omit %.s.
6936 (mpn-copy-sysdep): Omit files in nonexistent directories.
6937 (copy-mpn): Commit files to CVS.
6938 * stdlib/gen-mpn-copy (translations): Update translations for GMP
6941 * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&.
6943 Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6945 * malloc/malloc.c (_malloc_internal): Performance fix. Move
6946 if statement out of loop.
6948 * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster
6949 implementation using GMP functions. Contributed by
6950 Torbjorn Granlund and Ulrich Drepper.
6952 * stdio/test_rdwr.c: Include <errno.h>.
6954 * sysdeps/i386/i586/Implies: New file.
6956 New highly optimized string functions for i[345]86.
6957 * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files.
6958 * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files.
6959 * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files.
6960 * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files.
6961 * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files.
6962 * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files.
6963 * sysdeps/i386/i586/strlen.S: New file.
6964 * sysdeps/i386/memchr.c: Removed. There is now an assembler version.
6966 * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did
6967 not correspond to used values.
6969 * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper
6970 around a kernel header file.
6971 * sysdeps/unix/sysv/linux/Dist: Add it.
6972 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers):
6975 * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of
6976 defining ourself we use a kernel header file.
6978 * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system
6979 call handler for i586.
6981 * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up.
6983 Thu Oct 12 15:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6985 * hurd/hurd.h (file_name_lookup_under): Declare it.
6986 * hurd/Makefile (headers): Add hurd/lookup.h.
6988 * hurd/hurdinit.c (_hurd_ports_use): New function.
6989 * hurd/hurd.h (_hurd_ports_use): Declare it.
6990 (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split,
6991 hurd_file_name_lookup_retry): Remove these decls.
6992 * hurd/Makefile (routines): Remove invoke-trans.
6994 Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
6997 apply R_386_PC32 reloc.
6999 * Makeconfig (config-LDFLAGS): Add missing slash.
7001 * sysdeps/mach/hurd/profil.c (fork_profil): Only call
7002 update_waiter if profiling was enabled in the parent.
7004 * csu/initfini.c: Don't pass -f flag to cp.
7006 Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7008 * Makerules (build-shlib): Pass -rpath and -rpath-link options.
7009 (LDFLAGS-c.so): Don't pass -dynamic-linker here.
7010 * Makeconfig (+link): Pass $(sysdep-LDFLAGS).
7011 (link-libc): Pass -rpath and -rpath-link options.
7013 * MakeTAGS (all-dirs): Omit CVS directories.
7014 Specify vpath directives to find source files in $(all-dirs).
7015 (sources, headers): Append sources and headers from $(all-dist) to
7017 (all-dist): Filter them out of this.
7018 (all-headers, all-sources): Use $(shell find ...) instead of
7021 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass
7024 * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec.
7026 * elf/Makefile (install-others): Add missing $.
7028 Mon Oct 9 02:54:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7030 * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled.
7032 * Makeconfig (config-LDFLAGS): Define to
7033 -Wl-dynamic-linker=$(libdir)$(rtld-installed-name).
7034 (rtld-installed-name): New variable.
7035 * elf/Makefile (install-lib): Variable removed.
7036 (install-others): Define this instead, to
7037 $(libdir)(rtld-installed-name).
7038 ($(libdir)(rtld-installed-name)): New target; install from ld.so.
7040 * elf/ldd.sh.in: New file.
7041 * elf/Makefile (distribute): Add ldd.sh.in.
7042 (install-bin): Add ldd.
7043 ($(objpfx)ldd: ldd.sh.in): New rule.
7045 * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout.
7046 * hurd/hurd.h (__hurd_fail): Replace macro with inline function.
7047 Translate some Mach errors to Hurd errors.
7049 * elf/rtld.c (dl_main): Under --list, print msg if executable is
7052 * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header
7055 Sat Oct 7 01:25:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7057 * sysdeps/stub/machine-gmon.h: Add #error.
7059 Fri Oct 6 01:49:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7061 * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't
7064 Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com>
7066 Rewrite mktime from scratch for performance, and for correctness
7067 in the presence of leap seconds.
7069 * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result):
7071 (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX,
7072 TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros.
7073 <limits.h>, <stdlib.h>: New #includes.
7074 (main): Support tests with given broken-down value; support benchmarks.
7075 (__mon_lengths, debugging_enabled, printtm, dist_tm, doit,
7076 do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE,
7079 * time/time.h, time/mktime.c (__mktime_internal): New offset arg.
7080 * time/mktime.c (mktime), time/timegm.c (timegm): Use it.
7082 * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'.
7083 time/offtime.c (__offtime), time/tzset.c (compute_change): Use it.
7085 * time/offtime.c (__offtime): Remove useless assignment
7086 `tp->tm_isdst = -1'.
7088 * manual/maint.texi: Update credits.
7090 Fri Oct 6 00:28:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7092 * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd.
7093 * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd.
7094 * sysdeps/unix/sysv/linux/readv.c: File removed.
7095 * sysdeps/unix/sysv/linux/writev.c: File removed.
7096 * sysdeps/unix/configure.in: Check for readv and writev syscalls.
7098 * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname,
7099 set it to $unix_syscall instead of $unix_function.
7101 Thu Oct 5 00:59:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7103 * elf/rtld.c (dl_main): Grok --list flag.
7104 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args.
7106 Wed Oct 4 00:21:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7108 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function.
7109 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function.
7110 * elf/link.h (_dl_sysdep_message): Declare it.
7112 * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from
7115 * time/northamerica: Corrections to Canada data from ADO 95i.
7117 * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this
7118 unconditionally. In socket subdir, append sys/socketcall.h; in
7119 time subdir, append sys/timex.h.
7120 (config-LDFLAGS): New variable.
7121 * sysdeps/unix/sysv/linux/Dist: New file.
7122 * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS).
7124 * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling.
7126 * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object.
7128 Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7130 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by
7131 kernel with args on stack, point _dl_hurd_data at zero data
7132 instead of garbage. When ld.so run as program, grok args
7133 -LIB=MEMOBJ and pre-load shared object files found in memory
7134 objects loaded by the boot loader.
7136 * elf/link.h (struct link_map): New member `l_entry'.
7137 (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT.
7138 * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove
7139 last arg ENTRY_POINT. Store the entry point location in the
7140 `l_entry' member of the new map.
7141 * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to
7142 _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry.
7143 * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to
7146 * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too.
7148 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and
7149 restore %ebx by hand for personality syscall.
7150 GCC cannot deal with spilling the dedicated GOT register.
7152 * misc/Makefile (routines): Add mntent, which was somehow omitted.
7154 Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7156 * sysdeps/unix/sysv/linux/adjtime.c (__adjtime):
7157 Change name of field `mode' in `struct timex' to `modes'.
7158 Linux-1.3.28 updates this name according to RFC 1489.
7160 Thu Sep 28 13:05:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7162 Merge new message handling code from GNU gettext, by Drepper.
7163 * intl: New directory.
7164 * Makefile (subdirs): Add intl.
7166 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return
7167 USER_ENTRY instead of storing it on our stack.
7169 * elf/rtld.c (rtld_command): Variable removed.
7170 (_dl_skip_args): New variable.
7171 (dl_main): Increment _dl_skip_args instead of setting rtld_command.
7172 If the link_map for the executable itself is not first in the chain,
7174 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as
7175 count of args to skip.
7177 Thu Sep 28 09:20:04 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7179 * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of
7182 Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7184 * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
7185 (getcwd): Define as weak alias.
7186 * sysdeps/posix/getcwd.c: Likewise.
7187 * sysdeps/stub/getcwd.c: Likewise.
7188 * posix/unistd.h: Declare __getcwd.
7190 * string/string.h: Declare __strcasecmp.
7191 * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from
7193 (strcasecmp): Define as weak alias.
7195 * string/string.h: Declare __stpcpy.
7196 * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy.
7197 (stpcpy): Define as weak alias.
7199 * sysdeps/unix/sysv/linux/Implies: Add unix/common.
7201 * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
7202 Don't use `type' for arg name, since we are using it as a keyword
7205 * sysdeps/unix/configure.in: Check for syscalls getpriority,
7206 setpriority, getrlimit, setrlimit.
7208 * sysdeps/posix/truncate.c: Include fcntl.h.
7210 * sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
7212 * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
7213 use new stub_warning syntax.
7214 * sysdeps/stub/setpriority.c: Likewise.
7215 * sysdeps/stub/__longjmp.c: Likewise.
7216 * sysdeps/stub/_exit.c: Likewise.
7217 * sysdeps/stub/accept.c: Likewise.
7218 * sysdeps/stub/acos.c: Likewise.
7219 * sysdeps/stub/alarm.c: Likewise.
7220 * sysdeps/stub/asin.c: Likewise.
7221 * sysdeps/stub/atan2.c: Likewise.
7222 * sysdeps/stub/bind.c: Likewise.
7223 * sysdeps/stub/cbrt.c: Likewise.
7224 * sysdeps/stub/chroot.c: Likewise.
7225 * sysdeps/stub/closedir.c: Likewise.
7226 * sysdeps/stub/connect.c: Likewise.
7227 * sysdeps/stub/cos.c: Likewise.
7228 * sysdeps/stub/cosh.c: Likewise.
7229 * sysdeps/stub/ctermid.c: Likewise.
7230 * sysdeps/stub/cuserid.c: Likewise.
7231 * sysdeps/stub/defs.c: Likewise.
7232 * sysdeps/stub/exp.c: Likewise.
7233 * sysdeps/stub/fmod.c: Likewise.
7234 * sysdeps/stub/frexp.c: Likewise.
7235 * sysdeps/stub/fsync.c: Likewise.
7236 * sysdeps/stub/getcwd.c: Likewise.
7237 * sysdeps/stub/getenv.c: Likewise.
7238 * sysdeps/stub/gethostid.c: Likewise.
7239 * sysdeps/stub/getlogin.c: Likewise.
7240 * sysdeps/stub/getpeername.c: Likewise.
7241 * sysdeps/stub/getrlimit.c: Likewise.
7242 * sysdeps/stub/getsockname.c: Likewise.
7243 * sysdeps/stub/getsockopt.c: Likewise.
7244 * sysdeps/stub/listen.c: Likewise.
7245 * sysdeps/stub/log.c: Likewise.
7246 * sysdeps/stub/log10.c: Likewise.
7247 * sysdeps/stub/mkfifo.c: Likewise.
7248 * sysdeps/stub/morecore.c: Likewise.
7249 * sysdeps/stub/nice.c: Likewise.
7250 * sysdeps/stub/nlist.c: Likewise.
7251 * sysdeps/stub/opendir.c: Likewise.
7252 * sysdeps/stub/pipestream.c: Likewise.
7253 * sysdeps/stub/ptrace.c: Likewise.
7254 * sysdeps/stub/putenv.c: Likewise.
7255 * sysdeps/stub/readdir.c: Likewise.
7256 * sysdeps/stub/reboot.c: Likewise.
7257 * sysdeps/stub/recv.c: Likewise.
7258 * sysdeps/stub/recvfrom.c: Likewise.
7259 * sysdeps/stub/rename.c: Likewise.
7260 * sysdeps/stub/rewinddir.c: Likewise.
7261 * sysdeps/stub/seekdir.c: Likewise.
7262 * sysdeps/stub/send.c: Likewise.
7263 * sysdeps/stub/sendto.c: Likewise.
7264 * sysdeps/stub/setegid.c: Likewise.
7265 * sysdeps/stub/seteuid.c: Likewise.
7266 * sysdeps/stub/setgroups.c: Likewise.
7267 * sysdeps/stub/sethostid.c: Likewise.
7268 * sysdeps/stub/sethostname.c: Likewise.
7269 * sysdeps/stub/setjmp.c: Likewise.
7270 * sysdeps/stub/setrlimit.c: Likewise.
7271 * sysdeps/stub/setsockopt.c: Likewise.
7272 * sysdeps/stub/shutdown.c: Likewise.
7273 * sysdeps/stub/signal.c: Likewise.
7274 * sysdeps/stub/sigsuspend.c: Likewise.
7275 * sysdeps/stub/sin.c: Likewise.
7276 * sysdeps/stub/sinh.c: Likewise.
7277 * sysdeps/stub/socket.c: Likewise.
7278 * sysdeps/stub/socketpair.c: Likewise.
7279 * sysdeps/stub/sqrt.c: Likewise.
7280 * sysdeps/stub/sync.c: Likewise.
7281 * sysdeps/stub/system.c: Likewise.
7282 * sysdeps/stub/tan.c: Likewise.
7283 * sysdeps/stub/tanh.c: Likewise.
7284 * sysdeps/stub/tcdrain.c: Likewise.
7285 * sysdeps/stub/tcflow.c: Likewise.
7286 * sysdeps/stub/tcgetpgrp.c: Likewise.
7287 * sysdeps/stub/tcsendbrk.c: Likewise.
7288 * sysdeps/stub/tcsetattr.c: Likewise.
7289 * sysdeps/stub/tcsetpgrp.c: Likewise.
7290 * sysdeps/stub/telldir.c: Likewise.
7291 * sysdeps/stub/tempname.c: Likewise.
7292 * sysdeps/stub/ttyname.c: Likewise.
7293 * sysdeps/stub/ttyname_r.c: Likewise.
7294 * sysdeps/stub/utime.c: Likewise.
7296 * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
7298 * time/mktime.c (localtime_r): Use 0 instead of NULL.
7300 * config.make.in (AS): New variable; set to `$(CC) -c'.
7302 * posix/unistd.h [__USE_BSD]: Declare profil.
7304 * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out
7306 (_dl_map_object): Call it.
7307 * elf/link.h (_dl_map_object_from_fd): Declare it.
7309 Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7311 * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU
7314 * sysdeps/unix/sysv/linux/sys/param.h: New file.
7315 * sysdeps/unix/sysv/linux/Subdirs: File removed.
7317 * libc-symbols.h (_LIBC): Define to 1, not just empty.
7319 * gmon: New directory of profiling code, incorporated from
7320 4.4BSD-Lite and modified.
7321 * sysdeps/i386/machine-gmon.h: New file.
7322 * sysdeps/stub/machine-gmon.h: New file.
7323 * sysdeps/mach/hurd/profil.c: New file.
7324 * sysdeps/stub/profil.c: New file.
7325 * sysdeps/unix/bsd/profil.S: New file.
7326 * Makefile (subdirs): Add gmon.
7327 * csu/gmon-start.c: New file.
7328 * csu/Makefile (extra-objs): Add gmon-start.o,
7329 g$(start-installed-name).
7330 (install-lib, omit-deps): Add g$(start-installed-name).
7331 ($(objpfx)g$(start-installed-name)): New target.
7333 Fri Sep 22 14:24:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7335 * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the
7338 Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7340 * sysdeps/unix/configure.in: Check for `profil' syscall.
7342 * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables
7345 * time/africa, time/asia, time/europe, time/northamerica,
7346 time/yearistype: New data from ADO 95h.
7348 * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
7349 $(notdir $*), so it wins for the explicit libc.so rule as well as the
7352 * sysdeps/stub/sys/sem_buf.h (union semun): New type.
7354 * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call
7355 __libc_global_ctors.
7356 * sysdeps/i386/init-first.c: Rewritten.
7357 * sysdeps/unix/sysv/linux/i386/init-first.S: File removed.
7358 * sysdeps/unix/sysv/linux/i386/init-first.c: New file.
7360 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of
7363 * Makerules (build-shlib): New canned sequence, broken out of
7364 lib%.so rule. Link in $^ instead of just $<.
7365 (lib%.so: lib%_pic.a): Use it.
7366 (libc.so): New target; use $(build-shlib) for cmds, but also depend
7367 on soinit.so first and sofini.so last.
7369 * elf/soinit.c: New file.
7370 * elf/sofini.c: New file.
7371 * elf/Makefile (distribute): Add soinit.c and sofini.c.
7372 (extra-objs): Add soinit.so and sofini.so.
7374 * sysvipc/sys/shm.h (shmat): Fix return type to char *.
7375 * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed.
7377 * misc/syslog.c (vsyslog): Rewritten using open_memstream to
7378 dynamically allocate buffers.
7380 * Makerules (install-lib-nosubdir): Make this, rather than
7381 install-no-libc.a, depend on the installed shared libraries.
7383 Wed Sep 20 18:02:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7385 * locale/locale.c: Include errno.h.
7386 * locale/localedef.c: Likewise.
7388 Tue Sep 19 00:02:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7390 * Makefile (distclean-1): Remove config.cache, config.log, config.h.
7391 (parent-mostlyclean): Remove all flavors of the parent library.
7393 * misc/mntent.c (getmntent): Skip multiple whitespace chars
7396 * hurd/hurdstartup.c (_hurd_startup): If RPC returns
7397 EXEC_STACK_ARGS flag, get args from stack.
7398 If args on stack but have info from RPC, relocate args on stack to make
7399 space for struct hurd_startup_data.
7401 Mon Sep 18 15:06:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7403 * elf/dl-object.c: Include errno.h.
7404 * posix/execvp.c: Likewise.
7405 * dirent/scandir.c: Likewise.
7406 * sysdeps/posix/system.c: Likewise.
7407 * sysdeps/generic/setenv.c: Likewise.
7408 * stdlib/msort.c: Likewise.
7409 * stdio/memstream.c: Likewise.
7410 * stdio/fclose.c: Likewise.
7411 * stdio/getdelim.c: Likewise.
7412 * stdio/setvbuf.c: Likewise.
7413 * sysdeps/ieee754/ldexp.c: Likewise.
7414 * locale/locfile-parse.c: Likewise.
7416 * stdlib/lcong48_r.c: Don't check for null argument; let it fault.
7417 * stdlib/seed48_r.c: Likewise.
7418 * stdlib/srand48_r.c: Likewise.
7419 * stdlib/jrand48_r.c: Likewise.
7420 * stdlib/nrand48_r.c: Likewise.
7422 * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems
7425 Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com>
7427 * mktime.c (localtime_r): Add substitute if the system doesn't
7430 Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7432 * time/gmtime.c (gmtime_r): Define as weak alias.
7433 * time/localtime.c (localtime_r): Define as weak alias.
7434 * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them.
7436 * errno.h: Only define _ERRNO_H #ifndef __need_Emath.
7437 #undef __need_Emath after including errnos.h.
7438 [_ERRNO_H]: Protect decls with this.
7440 Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com>
7442 Fix mktime so that it does not write over localtime's returned value.
7443 * localtime.c (__localtime_r): New function, with extra arg
7444 specifying where to store result.
7445 (localtime): Use it.
7447 * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise.
7448 * mktime.c (__mktime_internal): Conversion function is now
7449 __localtime_r style, not localtime style.
7450 (mktime): Pass __localtime_r, not localtime.
7451 * timegm.c (timegm): Pass __gmtime_r, not gmtime.
7452 * offtime.c (__offtime): New arg specifying where to store result.
7453 * time.h (__mktime_internal, __offtime): Adjust decls accordingly.
7454 (__gmtime_r, __localtime_r): New decls.
7456 * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>,
7457 <stdlib.h>, <string.h>: Remove includes.
7458 <errno.h>: Add include.
7460 * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal):
7461 Renamed from _mktime_internal to avoid namespace pollution.
7463 * time/gmtime.c: Clear tm_isdst.
7465 Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7467 * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int.
7468 * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it
7471 * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of
7473 * sysdeps/mach/hurd/pathconf.c: Likewise.
7475 * Makefile (subdirs): Add sysvipc.
7477 * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant.
7478 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7480 Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7482 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call
7483 __file_set_size instead of __file_truncate.
7485 * features.h (__USE_REENTRANT): New macro.
7487 * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of
7489 * sysdeps/mach/hurd/ftruncate.c: Likewise.
7491 * sysdeps/unix/sysv/linux/dl-machine.h: File removed.
7493 Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7495 * elf/elf.h (AT_GID): Fix typo: Read -> Real.
7497 * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions.
7498 * misc/efgcvt.c: Rewrite to use reentrant functions.
7499 * misc/search.h: Many decls for hsearch functions.
7500 * misc/hsearch_r.c: New file. Reentrant version of functions from
7502 * misc/hsearch.c, misc/tsearch.c: New files.
7503 * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch.
7505 * posix/unistd.h (ttyname_r): Add prototype for new function.
7507 * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c,
7508 stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c,
7509 stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c,
7510 stdlib/drand48-iter.c: New files implementing reentrant versions
7511 of functions from drand48 family.
7512 * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c,
7513 stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c,
7514 stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c:
7515 Rewrite to use reentrant versions.
7516 * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l()
7517 and l64a() functions from SysV library.
7518 * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r,
7519 nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r,
7520 drand48-iter, a64l, l64a.
7521 * stdlib/stdlib.h: Declare them.
7523 * stdlib/random_r.c: New file. Reentrant version of functions
7525 * stdlib/stdlib.h: Declare them.
7526 * stdlib/random.c: Rewrite to use reentrant functions.
7528 * string/strerror_r.c: New file. Reentrant version.
7529 * string/strerror.c: Change for new _strerror_internal form.
7530 * string/Makefile (routines): Add strerror_r.
7532 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default
7533 value of user_entry to `_start'.
7534 Close AT_ENTRY case with `break'.
7536 * sysdeps/generic/strstr.c: New and much faster implementation
7537 by Stephen R. van den Berg.
7539 * sysdeps/generic/_strerror.c: _strerror_internal now takes
7540 three argument and has and explicit buffer length.
7541 * sysdeps/mach/_strerror.c: Change for new interface with three
7543 * stdio/perror.c, stdio/vfprintf.c: Callers changed.
7545 * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version.
7546 * sysdeps/posix/ttyname_r.c: New file. Reentrant version.
7547 * sysdeps/stub/ttyname_r: New file. Define as dummy function.
7549 * sysdeps/posix/utimes.c: Include <utime.h> for prototype.
7550 (utimes): First parameter to utime must be file, not path.
7552 * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case
7553 _SC_CLK_TCK and return it when available.
7554 Test for STREAM_MAX in case _SC_STREAM_MAX and return it when
7556 Add case for _SC_2_LOCALEDEF which is now available.
7558 * posix/sys/types.h [__USE_SVID] (key_t): New type.
7559 * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h,
7560 sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h,
7561 sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h,
7562 sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h,
7563 sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c,
7564 sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c,
7565 sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c,
7566 sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files.
7567 Add implementation of System V IPC.
7569 Fri Sep 15 21:34:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7571 * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>.
7572 (write_corefile): Call __crash_dump_task instead of __core_dump_task.
7573 Use envariable CRASHSERVER instead of CORESERVER.
7574 * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash.
7576 Tue Sep 12 14:30:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7578 * misc/mntent.c: New file.
7579 * misc/mntent.h: New file.
7580 * misc/Makefile (headers): Added mntent.h.
7581 (routines): Added mntent.
7582 * misc/fstab.c: Rewritten using mntent functions.
7584 Mon Sep 11 14:00:14 1995 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
7586 * posix/glob.c (glob): Comment fix.
7588 Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7590 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
7593 * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
7596 Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7598 * sysdeps/unix/sysv/linux/Implies,
7599 sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs,
7600 sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c,
7601 sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S,
7602 sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h,
7603 sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h,
7604 sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c,
7605 sysdeps/unix/sysv/linux/gethostname.C,
7606 sysdeps/unix/sysv/linux/getpeername.S,
7607 sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S,
7608 sysdeps/unix/sysv/linux/getsockname.S,
7609 sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S,
7610 sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h,
7611 sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c,
7612 sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c,
7613 sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S,
7614 sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c,
7615 sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S,
7616 sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c,
7617 sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c,
7618 sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S,
7619 sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c,
7620 sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c,
7621 sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c,
7622 sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S,
7623 sysdeps/unix/sysv/linux/settimeofday.S,
7624 sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c,
7625 sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c,
7626 sysdeps/unix/sysv/linux/shutdown.S,
7627 sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S,
7628 sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h,
7629 sysdeps/unix/sysv/linux/sockaddrcom.h,
7630 sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c,
7631 sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S,
7632 sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c,
7633 sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c,
7634 sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c,
7635 sysdeps/unix/sysv/linux/tcsetattr.c,
7636 sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c,
7637 sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c,
7638 sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c,
7639 sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S,
7640 sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c:
7641 New Linux/ELF specific, architecture independent files.
7642 * sysdeps/unix/sysv/linux/i386/Dist,
7643 sysdeps/unix/sysv/linux/i386/Makefile,
7644 sysdeps/unix/sysv/linux/i386/brk.S,
7645 sysdeps/unix/sysv/linux/i386/fcntlbits.h,
7646 sysdeps/unix/sysv/linux/i386/fpu_control.c,
7647 sysdeps/unix/sysv/linux/i386/fpu_control.h,
7648 sysdeps/unix/sysv/linux/i386/fstat.S,
7649 sysdeps/unix/sysv/linux/i386/fxstat.S,
7650 sysdeps/unix/sysv/linux/i386/ieee_fpu.c,
7651 sysdeps/unix/sysv/linux/i386/init-first.S,
7652 sysdeps/unix/sysv/linux/i386/ipc.S,
7653 sysdeps/unix/sysv/linux/i386/lstat.S,
7654 sysdeps/unix/sysv/linux/i386/lxstat.S,
7655 sysdeps/unix/sysv/linux/i386/mknod.S,
7656 sysdeps/unix/sysv/linux/i386/mmap.S,
7657 sysdeps/unix/sysv/linux/i386/sbrk.S,
7658 sysdeps/unix/sysv/linux/i386/setfpucw.c,
7659 sysdeps/unix/sysv/linux/i386/signum.h,
7660 sysdeps/unix/sysv/linux/i386/socket.S,
7661 sysdeps/unix/sysv/linux/i386/stat.S,
7662 sysdeps/unix/sysv/linux/i386/syscall.S,
7663 sysdeps/unix/sysv/linux/i386/sysdep.S,
7664 sysdeps/unix/sysv/linux/i386/sysdep.h,
7665 sysdeps/unix/sysv/linux/i386/xmknod.S,
7666 sysdeps/unix/sysv/linux/i386/xstat.S:
7667 New Linux i386/ELF specific files.
7668 * sysdeps/unix/sysv/linux/sys/ipc_buf.h,
7669 sysdeps/unix/sysv/linux/sys/mman.h,
7670 sysdeps/unix/sysv/linux/sys/msq_buf.h,
7671 sysdeps/unix/sysv/linux/sys/sem_buf.h,
7672 sysdeps/unix/sysv/linux/sys/shm_buf.h,
7673 sysdeps/unix/sysv/linux/sys/socketcall.h,
7674 sysdeps/unix/sysv/linux/sys/timex.h:
7675 New Linux/ELF specific, architecture independent header files.
7676 * sysdeps/unix/sysv/sysv4/linux: Tree removed.
7678 Thu Sep 7 17:05:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7680 * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and
7681 B2 are always congruent; just test that B1 is aligned.
7683 Wed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7685 * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather
7686 than WEAK_VALUE.a to see if a weak value has been set. A valid
7687 weak value may set WEAK_VALUE.a to 0.
7689 Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7691 * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
7694 * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
7695 for a warning on references to that specific symbol, not the
7696 entire containing object file.
7697 (stub_warning): Pass symbol name to link_warning.
7698 * stdio/gets.c: Pass function name in link_warning invocation.
7700 * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
7701 MACH_SEND_INTERRUPTED. That indicates interrupt_operation was
7704 * stdlib/msort.c: Include memcopy.h.
7705 (msort_with_tmp): If operating on aligned op_t words, use direct word
7708 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
7711 Thu Aug 31 13:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7713 * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT.
7715 Rewrote i386 setjmp code in assembly, so as to avoid fighting
7716 with the compiler for the register values.
7717 * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files.
7718 * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed.
7719 * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints.
7720 [__USE_MISC || _ASM] (JB_*): New macros, for indices therein.
7721 (_JMPBUF_UNWINDS): Use JB_SP.
7723 Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7725 * sysdeps/mach/hurd/select.c: Deal with out of order replies
7726 during io_select request loop.
7727 Handle MACH_RCV_TIMED_OUT error from requests.
7728 * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
7729 distinguish MACH_RCV_TIMED_OUT from EINTR.
7731 * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
7733 (glob_in_dir): Don't allocate extra byte here.
7735 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7736 Decrement the DT_RELSZ value for the skipped reloc.
7738 Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7740 * time/australasia: Updated data from ADO.
7742 Mon Aug 28 17:47:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7744 * dirent/dirent.h: Don't include <dirstream.h>.
7745 Instead, define DIR as typedef for (undefined) `struct __dirstream'.
7747 Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7749 * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
7751 * sysdeps/unix/bsd/dirstream.h: Likewise.
7752 * sysdeps/stub/dirstream.h: Likewise.
7753 * sysdeps/unix/dirstream.h: Likewise.
7754 * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
7755 * sysdeps/mach/hurd/seekdir.c: Likewise.
7756 * sysdeps/mach/hurd/opendir.c: Likewise.
7757 * sysdeps/mach/hurd/closedir.c: Likewise.
7758 * sysdeps/mach/hurd/readdir.c: Likewise.
7759 * sysdeps/unix/telldir.c: Likewise.
7760 * sysdeps/unix/seekdir.c: Likewise.
7761 * sysdeps/unix/rewinddir.c: Likewise.
7762 * sysdeps/unix/readdir.c: Likewise.
7763 * sysdeps/unix/opendir.c: Likewise.
7764 * sysdeps/unix/closedir.c: Likewise.
7765 * sysdeps/unix/bsd/telldir.c: Likewise.
7766 * sysdeps/unix/bsd/readdir.c: Likewise.
7767 * dirent/Makefile (headers): Remove dirstream.h.
7768 (distribute): Put it here instead.
7770 * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED.
7772 * stdio/vfscanf.c (number): Allow field width to inhibit first
7773 digit after base detection.
7775 * stdio/vfprintf.c (vfprintf: %s): Never search past the limit
7776 specified by the precision.
7778 * grp/grpread.c (__grpscan): New function.
7779 * grp/grp.h (__grpscan): Declare it.
7780 * grp/getgrgid.c: Use __grpscan.
7781 * grp/getgrnam.c: Likewise.
7782 * pwd/pwdread.c (__pwdscan): New function.
7783 * pwd/pwd.h (__pwdscan): Declare it.
7784 * pwd/getpwnam.c: Use __pwdscan.
7785 * pwd/getpwuid.c: Likewise.
7787 Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7789 * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like
7792 * hurd/thread-cancel.c: Return EINTR when called on self.
7793 * sysdeps/i386/elf/start.S (data_start): Define as weak alias for
7796 Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7798 * inet/netdb.h: Moved to resolv.
7799 * inet/Makefile (headers): Remove netdb.h.
7800 * resolv/Makefile (headers): Add netdb.h.
7801 * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h,
7802 resolv/res_send.c: Updated from BIND-4.9.3-BETA26.
7804 * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before
7805 resuming the thread.
7806 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'.
7808 * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects.
7810 Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE
7813 relocs, and do nothing. Why the linker generates them we may
7816 Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7818 * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
7821 * sysdeps/mach/hurd/i386/intr-msg.h: New file.
7822 * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
7823 "intr-msg.h" for special syscall code, instead of i386-specific asm.
7824 * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
7825 machine-dependent "intr-msg.h" before mutating thread state to
7828 * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
7829 _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in
7832 * Makeconfig (link-libc): New variable; use shared library if
7836 * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
7837 Instead, declare with `symbol_set_declare'.
7838 (fork): Use symbol_set_* macros for _hurd_fork_locks.
7839 Use SS->thread instead of __mach_thread_self (). Suspend all
7840 other threads during task_create and port copying.
7842 Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7844 * hurd/intr-msg.c: Fixed calculation of syscall %esp.
7846 Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7848 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
7850 * hurd/Makefile (sig): Add intr-msg.
7852 Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7854 * hurd/thread-cancel.c: New file.
7855 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In
7856 rpc_wait case, frob mach_msg args to set timeout on receive.
7857 (_hurdsig_rcv_interrupted_p): Function removed.
7858 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
7859 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
7860 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
7861 * hurd/intr-msg.c: New file.
7862 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'.
7863 (_hurdsig_rcv_interrupted_p): Declaration removed.
7864 (HURD_EINTR_RPC): Macro removed.
7865 (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare
7867 * hurd/intr-rpc.h: New file.
7868 * hurd/intr-rpc.defs: Just import intr-rpc.h.
7869 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable.
7870 (interrupted_reply_port_location): Take new flag arg; only catch
7872 (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg.
7873 No longer use _hurdsig_rcv_interrupted_p; instead compare PC to
7874 &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate
7875 MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All
7877 * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these.
7878 * hurd/Makefile (distribute): Remove intr-rpc.awk.
7879 (sig): Add thread-cancel.
7880 (transform-user-stub, transform-user-stub-output): Variables removed.
7881 * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from
7882 `__hurd_intr_rpc_*' to `__*'.
7883 (_hurd_intr_rpc_mach_msg): New function.
7884 (_hurd_thread_sigstate): Function removed.
7885 * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function,
7886 instead of __mach_msg inside HURD_EINTR_RPC macro.
7888 * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk'
7889 to take ptrdiff_t arg.
7891 * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl.
7893 * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'.
7895 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol,
7896 weak_alias): Use `extern' storage class.
7898 Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>
7900 * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and
7901 port-count parameters to __auth_makeauth.
7902 * sysdeps/mach/hurd/setgid.c (__setgid): Ditto.
7904 Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7906 * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl.
7908 * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite.
7910 Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu>
7912 * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP,
7913 IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP
7914 layer socket options.
7915 (IPPROTO_GGP): Delete obsolote protocol.
7916 (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP).
7917 (struct ip_mreq): New type.
7919 Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7921 * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.
7923 * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when
7924 (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
7926 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure
7927 when __stdio_open fails with a code other than ENFILE or EMFILE.
7929 Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7931 * Makefile (headers): Added gnu-versions.h.
7933 Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu>
7935 * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use
7936 equality, not assignment, to test bitfields.
7938 Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
7940 * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to
7941 resolve AF_LOCAL addresses.
7943 * sysdeps/mach/hurd/accept.c (accept): If the protocol family
7944 can't tell us what an address means, just return a zero-length
7946 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto.
7948 Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
7950 * sysdeps/mach/hurd/bind.c (bind): Don't use
7951 file_invoke_translator, as it doesn't work. Instead just lookup
7952 the translated node again, and hope we're not hit by any race
7955 Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7957 * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.
7958 [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff.
7959 [start-installed-name-rule]: If this is defined, elide rule for
7960 $(objpfx)$(start-installed-name).
7961 * csu/initfini.c (SECTION): New macro, different definitions for
7962 #ifdef HAVE_ELF and not.
7963 (_init, _fini): Use that macro.
7964 * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu]
7965 (start-installed-rule, start-installed-name-rule): New variables;
7966 specify crt1.o, created by our own rule.
7967 ($(objpfx)crt1.o): New rule.
7968 * configure.in: Require autoconf 2.4.2 or later. Change all
7969 AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead;
7970 prettify some messages.
7971 [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini'
7973 * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in
7974 this case rather than #ifdef HAVE_ELF.
7975 * config.h.in (HAVE_INITFINI): New macro.
7976 * config.make.in (have-initfini): New variable, set by configure.
7978 * stdio/vfscanf.c (conv_error): Simplify expression to avoid
7979 "value computed is not used" warning.
7981 * Makeconfig (+gccwarn): Removed -Wconversion.
7983 * csu/initfini.c (GLOBAL): Macro removed.
7984 (_init, _fini): Always define globally.
7985 * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
7987 * asia, backward, europe, leapseconds, southamerica: New data from
7990 * inet/Makefile (routines): Removed inet_addr.
7991 * inet/inet_addr.c: Moved to resolv/ subdirectory.
7992 * resolv/Makefile (routines): Added inet_addr.
7993 * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release.
7994 * resolv/gethnamaddr.c: Likewise.
7995 * resolv/getnetbyaddr.c: Likewise.
7996 * resolv/getnetbyname.c: Likewise.
7997 * resolv/getnetent.c: Likewise.
7998 * resolv/getnetnamadr.c: Likewise.
7999 * resolv/herror.c: Likewise.
8000 * resolv/nsap_addr.c: Likewise.
8001 * resolv/res_comp.c: Likewise.
8002 * resolv/res_debug.c: Likewise.
8003 * resolv/res_init.c: Likewise.
8004 * resolv/res_mkquery.c: Likewise.
8005 * resolv/res_query.c: Likewise.
8006 * resolv/res_send.c: Likewise.
8007 * resolv/resolv.h: Likewise.
8008 * resolv/sethostent.c: Likewise.
8009 * resolv/arpa/nameser.h: Likewise.
8010 * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release.
8011 [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating
8012 its declarations (and doing so only #ifdef sun!).
8013 * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
8015 * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro.
8016 [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
8018 * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
8021 * mach/shortcut.awk: Emit decls for RPC.
8023 * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol,
8024 weak_alias, strong_alias): Define using GCC __attribute__ syntax.
8026 * Makerules ($(installed-libcs)): Depend on `lib' (only).
8028 Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8030 * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
8032 * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
8034 * sysdeps/unix/sysv/ftime.S: New file.
8036 * locale/locfile-parse.c (categories_write): Cast "" to char *.
8038 * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.
8040 * time/strftime.c: Use year modulo 100 for %y.
8042 * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.
8044 * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
8045 of one, to work around bug in sunos4.1.2 sed.
8047 * stdio/vfprintf.c (vfprintf): For %s with precision spec, use
8048 memchr instead of strlen to limit search for NUL by precision.
8050 Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8052 * sysdeps/posix/pathconf.c: New file.
8054 Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8056 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space
8058 * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro.
8059 * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn.
8060 * sysdeps/i386/bsd-setjmp.S: Likewise.
8062 Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
8064 * inet/Makefile (routines): Added `ruserpass'.
8065 * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP
8066 client. Modified to remove the fourth arg AACCT. Do nothing for
8067 the `account' and `macdef' keywords. Other incidental changes
8068 because we are not in the FTP source tree.
8070 Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8072 * sysdeps/stub/init-posix.c: Removed stub warning.
8074 * Makefile (autoconf-it): Make it executable and unwritable.
8076 * configure.in (sysnames): Under --enable-debug-configure, spew
8079 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
8081 (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
8082 * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in
8085 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten.
8086 * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file.
8087 * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include
8088 <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of
8089 stack. Use JUMPTARGET(syscall_error) in jump insn.
8091 * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion.
8093 * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and
8095 (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF.
8097 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error):
8098 Rewritten, #include'ing unix/i386/sysdep.S for most of the code.
8099 * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT.
8101 * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os,
8102 instead of unix/sysv.
8103 * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename,
8104 socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved
8105 to new directory sysdeps/unix/sysv/sysv4/linux.
8106 * sysdeps/unix/sysv/linux: Directory removed.
8107 * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved
8108 to new directory sysdeps/unix/sysv/sysv4/linux/i386.
8109 * sysdeps/unix/sysv/linux/i386: Directory removed.
8111 Fixes to help Linux, inspired by drepper's work:
8112 * sysdeps/posix/utimes.c: New file.
8113 * sysdeps/generic/getdomain.c: New file.
8114 * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>.
8115 * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare
8116 externals _dl_argc, _dl_argc, and _environ.
8118 Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
8120 * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
8121 EOPNOTSUPP as indications that the server has died.
8122 * sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
8123 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
8125 Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
8127 * strtol.c: Portability changes from Uli Drepper.
8128 [!STDC_HEADERS && !defined(NULL)]: Define NULL.
8130 Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8132 * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
8133 DATA for the entry SP; DATA[-1] is always the return address
8134 location. In both cthreads and non-cthreads cases, use asm to
8135 force parameters into %eax and %ecx before return, and mutate
8136 DATA[-1] to return to specific asm code to set up the user from
8138 [PIC] (_init): Caller changed.
8139 (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init
8140 with SP unwound to argument data ptr.
8142 Thu Jul 6 14:28:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8144 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
8145 when 0x08000000 and up are not mapped.
8147 * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file
8149 (lib%.so): Use -Wl to get -soname to ld.
8151 * elf/dlsym.c: Pass final arg to _dl_lookup_symbol.
8153 * elf/Makefile (libdl.so): Pass $(LDFLAGS.so).
8155 Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8157 * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the
8158 library's name including $(libprefix) and major version number.
8160 * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero
8161 in place of xcalloc.
8163 * Makeconfig (prefix, exec_prefix, libprefix): Instead of
8164 `ifndef', use the $(origin) function to only set these if they are
8165 undefined, and not if they are defined to empty.
8167 * gnu-versions.h: New file.
8168 * features.h (__GNU_LIBRARY__): Increase value to 5.
8170 Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8172 * stdio/stdio.h (__validfp): Use ({...}) rather than a comma
8173 expression, to avoid gcc's "value computed is not used" warning.
8175 * libc-symbols.h (_elf_set_element): Give the set-element variable
8176 an `unused' attribute.
8178 * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
8179 __attribute__ ((__const__)).
8180 * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.
8182 * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
8183 LINK->resource.next->resource.prevp when appropriate, not
8184 LINK->resource.next->thread.prevp!!!
8186 Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8188 * configure.in (libc_cv_asm_set_directive): Make sure that the
8189 `.set' directive really worked by linking against a reference to
8192 * sysdeps/stub/init-first.c: Don't include <hurd.h>.
8193 [PIC] (soinit): Renamed to (global) _init.
8195 Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8197 * malloc/Makefile (gmalloc-routines): Remove valloc.
8198 (dist-routines): Add it here.
8200 * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to
8201 emacs_loser_valloc to inhibit valloc declaration below.
8203 * Makerules (lib%.so: lib%_pic.a): Moved this rule to after
8206 * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so
8207 it uses the `.type' directive, which is necessary for shared
8208 libraries to work properly.
8210 Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8212 * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap
8215 * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF;
8216 if nonzero, don't let *REF satisfy the reference itself.
8217 * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl.
8218 * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to
8220 * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of
8221 R->r_offset to RESOLVE callback.
8222 * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF
8223 satisfy the reference itself if its value equals the reloc's
8226 * elf/rtld.c (dl_main): Write a newline in fatal msg.
8228 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so).
8230 * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function.
8232 * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr
8233 and user entry point addresses.
8235 * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null.
8236 (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value.
8238 * Makerules (install-lib.so): Don't include libc.so.
8239 [$(build-shared)=yes] (install): Depend on the installed libc.so file.
8240 [$(build-shared)=yes] (install-no-libc.a): Make this, rather than
8241 install, depend on the installed $(install-lib.so) files.
8242 [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule.
8244 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to
8245 allocate high addresses to avoid random mappings appearing there.
8246 (mmap): Comment out mask; always pass zero.
8248 Tue Jun 6 13:34:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8250 * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
8251 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call.
8253 * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME
8256 * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable.
8257 (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these
8258 variables, using the `threadvars' buffer.
8260 * elf/dl-reloc.c: Don't dereference L->l_prev when it's null.
8261 * sysdeps/i386/dl-runtime.c: Likewise.
8263 * elf/rtld.c (dl_main): Add missing NULL terminating argument in
8264 _dl_sysdep_fatal call.
8265 (__assert_fail): Likewise.
8267 * locale/Makefile (localedef-modules): Renamed ctype to
8268 locale-ctype so as not to conflict with the object file for
8269 ctype/ctype.c in the build directory.
8271 Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8273 * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC
8274 insists on seeing the following E as part of hex 7FE, and
8275 complaining that is wider than a byte.
8277 Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8279 * hurd/Makefile (sig): Added thread-self.
8280 * hurd/hurd.h: Declare hurd_thread_self.
8281 * hurd/thread-self.c: New file.
8283 Thu Jun 1 12:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8285 * elf/rtld.c: Initialize RTLD_MAP.l_type.
8286 * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating
8287 the dynamic linker itself.
8288 * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is
8289 lt_interpreter, first undo relocation done during bootstrapping.
8291 Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8293 * mach/Makefile (server-interfaces): Removed notify and
8294 device_reply. For shlibs with eager binding, libmachuser.so must
8295 not refer to any functions not defined in libc.
8297 Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)
8299 * sysdeps/generic/memchr.c: Cast RHS to const unsigned char *
8300 to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi.
8302 Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8304 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check
8305 pending signals if the thread is in a critical section. It will
8306 send us a msg when it finishes.
8308 * sysdeps/mach/hurd/pathconf.c: New file.
8309 * sysdeps/mach/hurd/fpathconf.c: New file.
8311 * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for
8312 SIGCHLD when the SA_NOCLDSTOP bit actually changes.
8314 Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8316 * elf/Makefile (ld.so): Use -nostartfiles in addition to
8319 Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)
8321 * sysdeps/generic/memchr.c: Don't include <string.h> at all.
8322 HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for
8323 memchr unless one manually arranges for them to define __STDC__.
8325 Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8327 * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle
8328 args on stack from kernel.
8330 * posix/Makefile, sysdeps/alpha/Makefile,
8331 * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile,
8332 * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail
8333 in the absence of CVS dirs.
8335 * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the
8336 kernel on the stack properly.
8338 * set-init.c: Never call _init/_fini; just run __libc_subinit.
8340 * Makerules (LDFLAGS-c.so): Add -nostartfiles.
8341 * mach/Machrules (LDFLAGS-$(interface.so)): Likewise.
8343 * configure.in: Move defaulting of --with-elf and --with-gnu-*
8344 based on host os outside the AC_CACHE_VAL for the sysdirs
8347 * Makeconfig (localedir, nlsdir): New variables.
8349 * values.h: New file.
8350 * Makefile (headers): Add values.h.
8352 * locale/Makefile (distribute): Add error.h.
8353 * locale/localedef.c: Include "error.h".
8354 (main): Use error_message_count instead of warning_cntr.
8356 Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8358 Merged 1003.2 locale and localedef programs by Ulrich Drepper.
8359 * locale/charmap.c: New file.
8360 * locale/collate.c: New file.
8361 * locale/config.h: New file.
8362 * locale/ctype.c: New file.
8363 * locale/ctypedump.c: New file.
8364 * locale/hash.c: New file.
8365 * locale/hash.h: New file.
8366 * locale/iso-4217.def: New file.
8367 * locale/keyword.gperf: New file.
8368 * locale/keyword.h: New file.
8369 * locale/libintl.h: New file.
8370 * locale/locale.c: New file.
8371 * locale/localedef.c: New file.
8372 * locale/localedef.h: New file.
8373 * locale/locfile-lex.c: New file.
8374 * locale/locfile-parse.c: New file.
8375 * locale/messages.c: New file.
8376 * locale/monetary.c: New file.
8377 * locale/numeric.c: New file.
8378 * locale/token.h: New file.
8380 * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex.
8381 * posix/Makefile (headers): Add regex.h.
8382 (routines): Add regex.
8383 (gpl2lgpl): Add regex.c and regex.h.
8385 Tue May 16 17:35:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8387 * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined,
8388 instead of hard-coding "/share/locale".
8390 Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8392 * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
8394 Fri May 12 15:31:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8396 * elf/elf.h (ELFMAG, SELFMAG): New macros.
8398 Fri May 12 11:24:53 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu>
8400 * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in
8401 the case where it starts out less than _hurd_dtablesize.
8403 Thu May 11 20:51:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8405 * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable,
8406 make sure the new size exceeds FIRST_FD.
8408 Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8410 * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro.
8412 Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8414 * Makerules (install-lib.so): Add %.so for each %_pic.a.
8416 * sysdeps/i386/elf/start.S (__data_start): Define this symbol as
8417 the first thing in .data.
8419 * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf.
8421 * hurd/hurdstartup.h: New file.
8423 * sysdeps/i386/elf/start.S: Give two operands to `testl' when they
8424 are the same. Use `jz' instead of `jeq'.
8426 * Makeconfig (config.make): Depend on config.status, and run it to
8428 (config.status): New target; depend on configure.
8429 If target (config.status) exists, run it with --recheck to update;
8430 if not, give error msg saying to run confiugre by hand.
8431 * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)]
8432 (sysd-Makefile-force): Set this variable to FORCE in this case, to
8433 force a rebuild of sysd-Makefile.
8434 (sysd-Makefile): Depend on $(sysd-Makefile-force).
8435 Write into the file sysd-Makefile-sysdirs:=$(sysdirs).
8436 [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this
8437 variable to FORCE in this case, to force a rebuild of sysd-rules.
8438 (sysd-rules): Depend on $(sysd-rules-force).
8439 Write into the file sysd-rules-sysdirs:=$(sysdirs).
8441 * Makerules (LDFLAGS-c.so): Change ld option -interp to
8444 * Makerules (do-install-program): New canned sequence.
8445 (install-bin, install-sbin): Use it.
8446 (install for lib*.so): Use it instead of $(do-install).
8447 Fix .so installation rules to handle lib*.so and *.so, deal with
8448 $(libprefix) right, and install *.so as *.so$($(*.so)-version);
8449 i.e. "libc.so-version = .1".
8451 Mon May 8 05:10:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8453 * elf/do-rel.h: New file, split out of dynamic-link.h.
8454 * elf/Makefile (distribute): Add do-rel.h.
8456 Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8458 * Makeconfig (+gccwarn): Add -Winline.
8460 * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is
8461 set, avoid abort_rpcs, and use reply and intr ports saved in
8463 * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port
8464 from SS->context. Don't clear SS->context.
8465 * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when
8466 setting SS->context. If msg_sig_post returns, re-lock and clear
8469 Fri May 5 10:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8471 * mach/Makefile (errsystems.c): Comment out generation rule.
8473 * sysdeps/mach/_strerror.c: Consider a system unknown if its
8474 bad_sub member is null.
8476 * mach/mig-alloc.c: Add weak alias to non-__ name.
8478 Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8480 * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change.
8482 Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8484 * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE
8487 * hurd/Makefile (distribute): Added hurdstartup.h.
8488 * hurd/hurd.h: Remove _hurd_startup decl.
8490 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__
8491 ((__unused__)) instead of gratuitous self reference.
8493 * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the
8494 table if FD2 doesn't fit.
8496 * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit,
8497 not the current table size.
8499 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.
8501 Implemented runtime dynamic linker to support ELF shared libraries.
8502 * elf/Makefile: Added rules to make ld.so and libdl.
8503 * elf/dl-error.c: New file.
8504 * elf/dl-fini.c: New file.
8505 * elf/dl-init.c: New file.
8506 * elf/dl-load.c: New file.
8507 * elf/dl-lookup.c: New file.
8508 * elf/dl-object.c: New file.
8509 * elf/dl-reloc.c: New file.
8510 * elf/dlclose.c: New file.
8511 * elf/dlerror.c: New file.
8512 * elf/dlopen.c: New file.
8513 * elf/dlsym.c: New file.
8514 * elf/dynamic-link.h: New file.
8515 * elf/link.h: New file.
8516 * elf/rtld.c: New file.
8517 * sysdeps/i386/dl-machine.h: New file.
8518 * sysdeps/stub/dl-machine.h: New file.
8519 * sysdeps/i386/dl-runtime.c: New file.
8520 * sysdeps/stub/dl-runtime.c: New file.
8521 * sysdeps/i386/elf/start.S: New file.
8522 * sysdeps/generic/dl-sysdep.c: New file.
8523 * sysdeps/mach/hurd/dl-sysdep.c: New file.
8524 * sysdeps/mach/hurd/i386/init-first.c: New file.
8525 * sysdeps/i386/init-first.c: New file.
8526 * sysdeps/stub/init-first.c: New file.
8528 Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8530 * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make
8532 * version.c (__libc_print_version): Add "et al" and missing NL to
8535 Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8537 * posix/glob.c (S_ISDIR): Define if undefined.
8539 Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8541 * configure.in: Unless --without-fp, prepend */fpu before each
8542 machine dir in $mach; don't prepend FPU dirs at end. If
8543 --with-elf, prepend MACHINE/elf directories at end; don't insert
8546 * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps.
8548 * sysdeps/stub/clock.c: Added stub warning.
8549 * sysdeps/stub/dirfd.c: Likewise.
8550 * sysdeps/stub/exc2signal.c: Likewise.
8551 * sysdeps/stub/fdopen.c: Likewise.
8552 * sysdeps/stub/flock.c: Likewise.
8553 * sysdeps/stub/fpathconf.c: Likewise.
8554 * sysdeps/stub/ftruncate.c: Likewise.
8555 * sysdeps/stub/gtty.c: Likewise.
8556 * sysdeps/stub/isatty.c: Likewise.
8557 * sysdeps/stub/killpg.c: Likewise.
8558 * sysdeps/stub/madvise.c: Likewise.
8559 * sysdeps/stub/mkstemp.c: Likewise.
8560 * sysdeps/stub/mktemp.c: Likewise.
8561 * sysdeps/stub/mprotect.c: Likewise.
8562 * sysdeps/stub/msync.c: Likewise.
8563 * sysdeps/stub/pathconf.c: Likewise.
8564 * sysdeps/stub/poll.c: Likewise.
8565 * sysdeps/stub/raise.c: Likewise.
8566 * sysdeps/stub/readv.c: Likewise.
8567 * sysdeps/stub/setenv.c: Likewise.
8568 * sysdeps/stub/setlogin.c: Likewise.
8569 * sysdeps/stub/sigaltstack.c: Likewise.
8570 * sysdeps/stub/sigintr.c: Likewise.
8571 * sysdeps/stub/sigstack.c: Likewise.
8572 * sysdeps/stub/sleep.c: Likewise.
8573 * sysdeps/stub/sstk.c: Likewise.
8574 * sysdeps/stub/stime.c: Likewise.
8575 * sysdeps/stub/stty.c: Likewise.
8576 * sysdeps/stub/syscall.c: Likewise.
8577 * sysdeps/stub/sysconf.c: Likewise.
8578 * sysdeps/stub/truncate.c: Likewise.
8579 * sysdeps/stub/ualarm.c: Likewise.
8580 * sysdeps/stub/usleep.c: Likewise.
8581 * sysdeps/stub/utimes.c: Likewise.
8582 * sysdeps/stub/writev.c: Likewise.
8584 * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword.
8586 Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8588 * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null.
8590 Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8592 * posix/glob.c (glob): If GLOB_MARK set, stat names to find
8593 directories and append slashes to them in final pass before
8595 (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the
8596 slash; never append it here.
8598 Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8600 * mach/Machrules [interface-library]
8601 (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to
8604 * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock
8605 _hurd_siglock only around initial task creation in parent. Use
8606 _hurd_critical_section_unlock at end. Handle dead name rights
8607 properly, and deal with a send right dying while we try to copy
8608 it. For the time being, use assert_perror for kernel and proc RPC
8611 Fri Apr 21 01:10:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8613 * extra-lib.mk: Don't include $(o-iterator); construct it by hand
8614 using $(object-suffixes-$(lib)) instead.
8616 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable.
8618 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so).
8619 (LDFLAGS-c.so): New variable.
8621 * resolv/res_init.c (res_init): Don't clobber _res.options with
8622 RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT.
8624 * hurd/hurd.h: Declare _hurd_startup.
8625 * hurd/hurdstartup.c: New file.
8626 * hurd/Makefile (routines): Add hurdstartup.
8628 Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8630 * hurd/hurdsig.c: Use assert_perror for many calls which should
8631 never fail and previously were not checked.
8633 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
8634 Point the return address for sigreturn's frame at a "hlt" insn so
8635 it will definitely crash if sigreturn returns.
8637 Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org)
8639 * time/tzset.c (__tzname, __daylight, __timezone): Don't check
8640 HAVE_WEAK_SYMBOLS for doing weak_alias.
8642 Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8644 * configure.in: Move $os tests to set $elf et al earlier, before
8645 construction of $sysnames. Instead of prepending MACHINE/elf to
8646 $sysnames, append &/elf after each elt appended to $mach.
8648 Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8650 * configure.in (libc_cv_asm_global_directive): New check to define
8651 ASM_GLOBAL_DIRECTIVE.
8652 * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE.
8653 * libc-symbols.h (strong_alias_asm, strong_alias): Use
8654 ASM_GLOBAL_DIRECTIVE on the alias.
8656 * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef
8657 HAVE_WEAK_SYMBOLS" #defns.
8659 Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org)
8661 * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
8662 of the byte that was zero, so we return a valid number.
8664 Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org)
8666 * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining
8667 NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h.
8669 Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
8671 * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
8672 [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'.
8673 * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double)
8674 [BITS_PER_MP_LIMB == 64]: Likewise.
8676 * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive.
8677 * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise.
8678 * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise.
8679 * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise.
8680 * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise.
8681 * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise.
8682 * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise.
8683 * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise.
8684 * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise.
8685 * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise.
8686 * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise.
8688 * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive.
8689 * sysdeps/unix/mips/fork.S (fork): Likewise.
8690 * sysdeps/unix/mips/pipe.S (fork): Likewise.
8691 * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
8692 * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
8693 * sysdeps/unix/mips/wait.S (__handler): Likewise.
8694 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
8695 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
8696 * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
8697 * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
8698 * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
8699 * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
8700 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
8701 * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
8702 * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
8703 * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0'
8704 instead of `zero' for the li instruction.
8706 * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
8707 preprocessor comments, not assembler comments.
8708 * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
8709 * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
8711 Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8713 * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__
8716 Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8718 * Makefile (distribute): Add ChangeLog.[0-9].
8720 * configure.in: Add check for .set directive.
8721 * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE.
8722 * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias,
8723 strong_alias_asm): Use `foo = bar' syntax instead.
8725 * Makerules [! subdir] (O%-lib): Don't prepend ../.
8727 * sysdeps/generic/expm1.c: #undef expm1 before weak_alias.
8729 * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move
8730 $host_os checks to set gnu_ld/as and elf before sysdirs
8731 generation. Fix $with_fp test.
8732 [$elf=yes]: Prepend MACHINE/elf directory.
8734 * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits
8735 being cleared are already known to be set. Thanks Ulrich.
8737 Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8739 * posix/environ.c: Add weak alias `_environ'.
8741 Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8743 * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc.
8744 * sysdeps/i386/sub_n.S [PIC]: Likewise.
8746 Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8748 * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element
8751 * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to
8752 $(foo-$(suffix $@)).
8754 * manual/Makefile (chapters-incl): Filter out summary.texi.
8756 * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn
8757 a weak symbol instead of literal "STRTOF".
8759 * locale/setlocale.c: Work around ld bug: don't weakify refs to
8762 Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8764 * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs).
8766 * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy.
8767 * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining.
8769 * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these
8770 #ifdef emacs, but only #ifndef memmove.
8771 * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to
8773 (memmove): Define only if undefined.
8775 Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8777 * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
8778 sure these are simply-expanded variables.
8780 * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
8783 * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4
8786 * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly
8789 * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash.
8791 * locale/Makefile (categories): Uncomment collate.
8792 * locale/lc-collate.c: New file.
8794 * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define
8796 * malloc/realloc.c: Likewise.
8798 * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined.
8799 (_itoa): Use it in defn.
8800 * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include
8802 (_itoa): Function removed.
8804 * malloc/free.c: Remove use of `assert'.
8806 * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to
8807 __malloc_safe_bcopy; #define safe_bcopy.
8808 * malloc/free.c: Cope with systems lacking `memmove'.
8809 (_free_internal): Cast result of _malloc_internal.
8811 Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8813 * hurd/hurdinline.c: Include signal.h first, so we don't define
8816 * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
8817 of -1 to avoid compiler warning.
8819 * configure.in (host_os=linux*): Set elf=yes for this, not just
8822 * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname
8825 * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
8827 Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8829 * sysdeps/unix/start.c: Remove spurious decl and #endif.
8831 * misc/progname.c (program_invocation_name,
8832 program_invocation_short_name): Make these initialized data
8835 * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference
8836 so gcc doesn't optimize out the function entirely.
8838 Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8840 * posix/execvp.c: Don't use stat to search path; just try execv
8843 * sysdeps/mach/hurd/i386/trampoline.c: Add a link to
8844 SS->active_resources, so that _hurdsig_longjmp_from_handler will
8845 be called when a longjmp unwinds the signal frame.
8846 * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the
8847 SS->active_resources chain added by _hurd_setup_sighandler.
8848 * hurd/sigunwind.c: New file.
8849 * hurd/Makefile (sig): Add sigunwind.
8851 * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*.
8853 * MakeTAGS (tags-sources): Include $(all-dist).
8854 [subdir] (all-dist): Define to $(distribute).
8856 Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8858 * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and
8861 * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by
8862 filtering out $($(lib)-inhibit-o); use that instead of
8863 $(object-suffixes) in all the other variables.
8865 * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero
8868 * string/strxfrm.c: Just copy the string (for now).
8869 * string/strcoll.c: Just call strcmp (for now).
8871 * mach/Makefile (lock): Add mutex-init.
8872 * mach/mutex-solid.c (_cthread_mutex_lock_routine,
8873 _cthread_mutex_unlock_routine): Variables removed.
8874 (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub.
8875 (__mutex_init): Function moved to new file mutex-init.c.
8876 * mach/mutex-init.c: New file, broken out of mutex-solid.c.
8878 Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org>
8880 * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.
8881 * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
8883 Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8885 * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though
8888 Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8890 * elf/dlfcn.h: New file.
8892 * Make-dist (README): Commit it to CVS if there is a CVS directory.
8894 More changes from Germano Caronni <caronni@tik.ethz.ch>:
8895 * malloc/free.c: Relocate _heapinfo when that allows us to return
8898 * malloc/malloc.c: Move #include <errno.h> outside #ifndef
8901 Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8903 * mach/Makefile (headers): Add mach/mach_traps.h.
8905 * Makerules ($(installed-libcs) rule): Fix typos.
8907 * sysdeps/unix/bsd/bsd4.4/revoke.S: New file.
8908 * sysdeps/stub/revoke.c: New file.
8909 * misc/Makefile (routines): Add revoke.
8910 * posix/unistd.h [__USE_BSD] (revoke): Declare it.
8911 * sysdeps/generic/pty.c (openpty, forkpty): Declare return types.
8912 (forkpty): Declare login_tty.
8913 * misc/logwtmp.c (logwtmp): Declare to return void.
8914 * misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
8916 * posix/unistd.h [__USE_BSD] (ttyslot): Declare it.
8918 * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define
8919 unless L_SET already defined.
8920 * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET
8923 Incorporated -lutil library from 4.4-Lite.
8924 * misc/Makefile (extra-libs, libutil-routines): New variables.
8925 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
8926 sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite.
8928 Support simple, light-weight unwind-protect mechanism for longjmp.
8929 * setjmp/longjmp.c: Call _longjmp_unwind first thing.
8930 * sysdeps/mach/hurd/jmp-unwind.c: New file.
8931 * sysdeps/stub/jmp-unwind.c: New file.
8932 * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
8933 * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
8934 * setjmp/Makefile (routines): Add jmp-unwind.
8935 * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and
8936 `prevp' members into new substructure `resource'; add another such
8937 substructure `thread' and members `cleanup' (function ptr) and
8938 `cleanup_data' (generic ptr).
8939 (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK
8940 into the `_hurd_self_sigstate ()->active_resources' list via the
8941 `thread' substructure.
8942 * hurd/hurd/port.h (_hurd_port_cleanup): Declare it.
8943 (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and
8944 LINK->cleanup_data' to the port extracted.
8945 * hurd/hurd/signal.h (struct hurd_sigstate): New member
8947 * hurd/port-cleanup.c: New file.
8948 * hurd/Makefile (routines): Add port-cleanup.
8950 * malloc/malloc.c: Include errno.h.
8952 Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8954 * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
8956 Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8958 * misc/Makefile (headers): Add utmp.h.
8959 * misc/utmp.h: New file, incorporated from 4.4-Lite.
8961 * stdio/printf-parse.h: New file, mostly written by drepper.
8962 * stdio/vfprintf.c: Rewritten, mostly by drepper.
8963 * stdio/printf-prs.c: Rewritten.
8964 * stdio/Makefile (distribute): Add printf-parse.h.
8966 Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8968 * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start
8969 with asm name. Just do a ".set start, __start".
8971 * malloc/realloc.c: Call _free_internal instead of free.
8973 Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8975 * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a
8976 directory, open LOCALE/LC_*/SYS_LC_* instead.
8978 Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8980 * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h,
8981 stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c,
8982 stdio/gen-mpn-copy: Files moved to stdlib.
8983 * stdio/Makefile: All mpn stuff moved to stdlib/Makefile.
8984 * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile.
8985 * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp
8987 * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp
8990 * Makefile (parent-mostlyclean): Don't use $(libc.a).
8991 (parent-clean): Use $(objpfx) to find sysd-*.
8992 * Rules (generated): Append dummy.o dummy.c.
8993 * Makerules (lib): Depend on lib-noranlib.
8994 (lib-noranlib): Depend on $(install-lib) in objdir.
8995 (common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
8996 from objdir. Don't remove TAGS; it comes in the distribution.
8998 * malloc/malloc.c (morecore): Save errno around call to
8999 _realloc_internal. Don't account for the additional new blocks of
9000 the info table itself when choosing the new table size for the
9001 first crack; if it succeeds, the new blocks will have been found
9002 in existing free space already described by the existing info
9005 * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
9006 read-ahead character.
9008 Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9010 * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c,
9011 hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c,
9012 hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c,
9013 hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c:
9014 Get anal with unsigned to pacify compiler.
9016 * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d
9017 means %d from 3rd arg).
9019 * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h.
9021 * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only
9024 Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9026 * Makefile (subdirs): Put elf last.
9028 * sunrpc/Makefile (install-lib): Variable removed.
9029 (rpcsvc-objs): Variable removed.
9030 (extra-objs): Don't include $(rpcsvc-objs).
9031 (extra-libs): New variable, contains librpcsvc.
9032 (librpcsvc-routines): New variable.
9033 (librpcsvc-inhibit-o): New variable, contains .so.
9034 (omit-deps): Set this to $(librpcsvc-routines).
9035 ($(objpfx)rpcgen): Don't use $(libc.a).
9036 (lib, $(objpfx)librpcsvc.a): Targets removed.
9038 * o-iterator.mk, extra-lib.mk: New files.
9039 * Makerules (o-iterator): New variable.
9040 [extra-libs]: Include extra-lib.mk to generate rules for each word
9042 * Makefile (distribute): Add extra-lib.mk, o-iterator.mk.
9044 Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
9046 * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double):
9047 Handle 80-bit denormalized numbers correctly.
9049 * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c:
9050 (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed.
9051 * stdlib/strtod.c (RETURN): Add parentheses around return value.
9052 (round_and_return): Correct handling of denormalized numbers.
9054 * stdio/fpioconst.c, stdio/fpioconst.h: Don't use
9055 LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available
9058 Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9060 * locale/C-ctype.c: New correct data generated by drepper.
9062 * Rules: Don't use $(libc.a).
9064 Parsing of grouped numbers contributed by Ulrich Drepper.
9065 * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
9066 new flag arg; if nonzero, parse locale-dependent thousands
9067 grouping and interpret only the prefix that is correctly grouped.
9068 (strtol): Define this to call _strtol_internal with zero for the flag.
9069 Use a weak symbol for the definition.
9070 * stdlib/strtod.c (strtod, __strtod_internal): Likewise.
9071 Check for the exponent of the number overflowing the float format.
9072 * stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
9073 (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
9074 [__OPTIMIZE__]: Define inline functions calling those.
9075 * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold.
9076 (strtold): Remove weak alias.
9077 * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof.
9078 (strtof): Remove weak alias.
9079 * stdlib/grouping.h: New file, written by drepper.
9080 * stdlib/Makefile (distribute): Add grouping.h.
9081 * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
9082 __strtoX_internal with the grouping flag set iff the modifier is
9085 Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9087 * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
9089 * mach/Machrules: Produce static deps for all object flavors.
9090 [interface-library]: Remove all these variables and rules.
9091 ($(interface-library)-routines): Define this variable.
9092 (extra-libs): Append $(interface-library) to this.
9093 * mach/Makefile (interface-library): Omit .a suffix.
9094 * hurd/Makefile: Likewise.
9096 Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9098 * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
9099 early if no new data in buffer after priming.
9101 Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9103 * Makerules (object-suffixes, libtypes): Move all these variables
9105 * Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
9107 * Makerules (build-extra-lib): New canned sequence.
9109 * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
9110 fix uses of FILE and PORT. Remove bogus weak alias for `access'.
9112 * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
9113 Add missing semicolon.
9114 * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
9115 hurd_fd *' temp var, since DIRP->__fd is a `void *'.
9116 * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
9118 * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
9119 locale data format is implemented.
9121 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
9122 Pass &__sigreturn on the stack to the trampoline code, so it is
9123 not position-dependent.
9125 * stdio/printf_fp.c (NDEBUG): Define this to disable assert.
9126 Don't include <stdarg.h>.
9127 (__printf_fp): Last arg ARGS is now `const void **const';
9128 dereference ARGS[0] instead of using va_arg.
9130 * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
9131 loop to install data.
9133 * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
9134 to extract number from item code.
9135 (_nl_load_locale): Close the descriptor when finished.
9137 * malloc/realloc.c (_realloc_internal): Call _malloc_internal in
9140 * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
9142 * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int
9144 * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to
9145 int to avoid warning.
9147 Support building several flavors of objects and libraries.
9148 * Makerules (libtypes, object-suffixes): New variables.
9149 (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
9151 (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)).
9152 (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c.
9153 (close-check-inhibit-asm): Append a semicolon.
9154 (sysd-rules): Generate rules for each object suffix.
9155 (compile.S, compile.c): Always assume gcc.
9156 (OUTPUT_OPTION): Define unconditionally.
9157 (+make-deps): In generated rule, produce a dependent for each
9159 (.SUFFIXES): Add $(object-suffixes) in place of .o.
9160 (.PRECIOUS): Make all suffix flavors precious.
9161 ($(libc.a)): Target removed.
9162 (lib): Depend on each enabled libtype.
9163 (libobjs, objects, objs): Depend on all the enabled object flavors.
9164 (lib%.a): New pattern rule.
9165 [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule.
9166 (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir)
9167 to make one for each flavor; library dep rule likewise rewritten.
9168 ($(libc.a)(__.SYMDEF)): Target replaced with one target for each
9170 (symdef.%): New pattern rule; helper for __.SYMDEF targets.
9171 (installed-libcs): New variable.
9172 (install): Depend on that instead of
9173 $(libdir)/lib$(libprefix)$(libc-name).a;
9174 that file's rule rewritten to make each enabled libtype.
9175 (install-lib.so): New variable, filters lib%.so from $(install-lib).
9176 (install-lib): Filter out lib%.so after setting install-lib.so.
9177 [$(build-shared)=yes] (install): Install $(install-lib.so).
9178 (common-mostlyclean): Remove all flavors of objects.
9179 * Makefile ($(libc.a)(__.SYMDEF)): Target removed.
9180 [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.
9182 Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9184 * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
9185 * sysdeps/stub/pause.c: Likewise.
9186 * sysdeps/stub/time.c: Likewise.
9188 * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
9189 locale data format is implemented.
9190 * stdlib/wctomb.c: Likewise.
9192 * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
9194 * mach/errsystems.c: File removed.
9196 * Makeconfig (libc.a): Variable removed.
9197 (+link): Don't use it.
9199 * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
9202 * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these.
9203 * malloc/realloc.c (_realloc_internal): Renamed from realloc;
9204 don't use __realloc_hook.
9205 (realloc): New function; call __realloc_hook ?: _realloc_internal.
9206 * malloc/malloc.c (_malloc_internal): Renamed from malloc;
9207 don't use __malloc_hook.
9208 (malloc): New function; call __malloc_hook ?: _malloc_internal.
9209 Changes from Germano Caronni <caronni@tik.ethz.ch>:
9210 (initialize): Set up _heaplimit to cover the _heapinfo table.
9211 (morecore_recursing): New static variable.
9212 (morecore): If that is set, return null immediately.
9213 When growing the info table, before getting new core from the
9214 system for it, set morecore_recursing and try moving _heapinfo
9215 with _realloc_internal. When that fails and we get new core, set
9216 _heaplimit to cover the core for the new _heapinfo table.
9217 (register_heapinfo): New function. Record the _heapinfo table's
9218 own blocks in that table and in the statistics variables.
9219 (initialize, _malloc_internal): Use it after allocating new table.
9221 Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com)
9223 * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use
9225 [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code.
9227 Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9229 * mach/errorlib.h (errors): Use const for decl.
9231 * time/tzfile.c (uc2ul, _uc2ul): Macros removed.
9232 (decode): New inline function; decode signed 32-bit integers, and
9233 sign-extend properly when long is longer than 32 bits.
9234 (__tzfile_read): Changed all uses of uc2ul to decode.
9235 Decode the transition times properly when sizeof (time_t) > 4.
9237 * stdio/printf.h: Doc fixes. Don't #include <stddef.h>.
9238 (printf_function): Make last arg ARGS a vector of pointers instead of a
9241 Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
9243 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn.
9244 (buffered_vfprintf): Remove line buffer when flush failed.
9246 Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9248 * time/tzfile.c (struct ttinfo): New member `isgmt'.
9249 (__tzfile_read): Read isgmt flags for each type.
9250 (__tzfile_default): When using TZDEFRULES DST rules, adjust
9251 transition times according to the isstd and isgmt flags for the
9252 types of each transition, and adjust each transition to point to
9253 type index either 0 or 1. Reset type indices 0 and 1 to describe
9254 the user's settings.
9256 Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9258 * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
9259 into just CLASS. Add standard/optional flag to all items.
9261 * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.
9263 * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
9264 Rearrange defn to satisfy compiler.
9266 * locale/localeinfo.h: Declare _nl_current.
9268 * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args
9269 --enable-shared, --enable-profile, --enable-omitfp; pass settings
9270 through to config.make.
9271 * config.make.in (build-shared, build-profile, build-omitfp): New
9274 * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo).
9275 (DT_NUM): New macro.
9277 * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos.
9279 * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity.
9281 * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define
9282 MAP_COPY to MAP_PRIVATE.
9284 Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org)
9286 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
9287 that's used inside the alpha sysdep.h.
9289 * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
9291 * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
9293 * configure.in: Match `osf*', not `osf1*'.
9294 * configure: Likewise.
9295 * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.
9297 Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9299 * posix/glob/configure.bat: Fixes from DJ.
9301 * time/backward, time/europe, time/northamerica, time/pacificnew,
9302 time/zdump.c, time/zic.c, time/tzfile.h, time/private.h,
9303 time/ialloc.c: Code and data updated from ADO's 95b.
9304 * time/emkdir.c: File removed.
9305 * time/Makefile (distribute, extra-objs, zic): Omit it.
9307 * time/localtime.c: Deansideclized. Never #define __tzname et al
9310 * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int *
9311 instead of short int *.
9312 * ctype/ctype-info.c: Likewise.
9313 * ctype/ctype.h: Likewise.
9315 * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead
9316 of EB and EL versions.
9318 Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9320 * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order.
9321 (_IS* enum): Use _ISbit to produce values.
9323 Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9325 * locale/localeinfo.h: Rewritten for new locale system, using
9326 locale data files and with <langinfo.h> interface.
9327 * locale/setlocale.c: Rewritten to use locale data files.
9328 * langinfo.h: New file.
9329 * locale/langinfo.h: New file.
9330 * locale/nl_langinfo.c: New file.
9331 * locale/loadlocale.c: New file.
9332 * locale/lc-ctype.c: New file.
9333 * locale/lc-messages.c: New file.
9334 * locale/lc-monetary.c: New file.
9335 * locale/lc-numeric.c: New file.
9336 * locale/lc-time.c: New file.
9337 * locale/categories.def: New file.
9338 * locale/Makefile (headers): Remove localeinfo.h.
9339 (distribute): New variable; put localeinfo.h here, and categories.def.
9340 (routines): Add loadlocale.
9341 (categories): New variable.
9342 (aux): Use that to get C-category and lc-category.
9343 * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
9344 * ctype/ctype-info.c: For initial tables, use
9345 _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in
9347 * locale/C-ctype.c, locale/C-messages.c: New files.
9348 * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
9349 Default "C" locale data updated for new locale system.
9350 * locale/C-collate.c: File removed.
9351 * locale/C-ctype_ct.c: File removed.
9352 * locale/C-ctype_mb.c: File removed.
9353 * locale/C-response.c: File removed.
9354 * locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
9355 * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
9356 stdlib/strtod.c, time/asctime.c, time/strftime.c:
9357 Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
9359 * time/localtime.c: Don't include <localeinfo.h>.
9360 * time/tzset.c: Don't use locale items for default TZ value or
9361 "GMT" string (use "UTC").
9363 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
9364 WIDTH>0; update DONE.
9366 * malloc/malloc.c (morecore): Fix last change to calculate by
9367 blocks instead of bytes.
9369 Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9371 * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these.
9372 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
9373 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
9374 * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise.
9375 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
9376 * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak
9378 * sysdeps/unix/mman/munmap.S: Likewise.
9379 * sysdeps/mach/munmap.c: Likewise.
9380 * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak
9382 * sysdeps/unix/mman/mmap.S: Likewise.
9383 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
9384 * sysdeps/stub/mmap.c: Likewise.
9386 * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp.
9388 * sysdeps/unix/dirfd.c: #undef dirfd before function defn.
9390 Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9392 * misc/search.h: Add missing semicolon.
9394 * sysdeps/unix/dirfd.c: Fix typo.
9396 * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t
9399 * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement
9402 Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9404 * stdlib/strtod.c: Fixes from drepper.
9405 [IMPLICIT_ONE]: New macro, one for IEEE754 formats.
9406 * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0.
9407 * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1.
9409 * stdio/vfprintf.c: Correctly notice Z modifier.
9411 * misc/search.h: New file.
9412 * misc/Makefile (headers): Add search.h.
9413 * misc/insremque.c: Include search.h.
9414 (struct qelem): Type removed.
9416 Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9418 * elf/libelf.h: New file.
9419 * elf/elf_hash.c: New file.
9421 Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9423 Changes from Germano Caronni <caronni@tik.ethz.ch>:
9424 * malloc/malloc.c (morecore): Account in NEWSIZE for the
9425 malloc_info structures for each new block.
9427 Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9429 * sysdeps/mach/hurd/kill.c: When the process has no message port
9430 registered and we have its task port, translate a few signals to
9431 task_suspend/task_resume/task_terminate.
9433 Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9435 * io/Makefile (routines): Add euidaccess.
9436 * sysdeps/mach/hurd/euidaccess.c: New file.
9437 * sysdeps/stub/euidaccess.c: New file.
9438 * posix/unistd.h [__USE_GNU] (euidaccess): Declare it.
9440 * dirent/Makefile (routines): Add dirfd.
9441 * sysdeps/stub/dirfd.c: New file.
9442 * sysdeps/unix/dirfd.c: New file.
9443 * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro.
9444 * dirent/dirent.h (dirfd): Declare new function. Define as macro
9445 _DIR_dirfd if that is defined.
9446 * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member
9448 * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port.
9449 Open the file with `open'; set FD_CLOEXEC on the fd.
9450 * sysdeps/mach/hurd/closedir.c: Likewise.
9451 * sysdeps/mach/hurd/readdir.c: Likewise.
9452 * sysdeps/mach/hurd/dirfd.c: New file.
9454 * posix/Makefile (glob/configure): Do cvs commit if there is a CVS
9456 (glob/ChangeLog): Likewise.
9458 * locale/locale.h (LC_*): Use small integers instead of bit masks.
9460 * stdio/bug4.c: Put temporary files in /tmp.
9461 * stdio/bug3.c: Likewise.
9462 * stdio/bug5.c: Likewise.
9463 * stdio/test-fseek.c: Likewise.
9464 * stdio/test-popen.c: Likewise.
9466 Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9468 * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
9470 * libc-symbols.h (weak_symbol): New macro.
9472 * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
9473 elts with null handlers.
9475 * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
9477 Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9479 * stdlib/random.c (__srandom): Change algorithm used to populate
9481 (randtbl): Recomputed with new algorithm.
9483 * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set
9484 to original value of `crypt'.
9485 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt]
9486 (crypt): New variable, set to crypt.solar.
9488 Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org)
9490 * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.
9492 * config.h.in: Put comment around ^L to pacify Solaris as here too.
9494 Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9496 * string/Makefile (distribute): Add pagecopy.h.
9497 * sysdeps/mach/pagecopy.h: New file.
9498 * sysdeps/generic/pagecopy.h: New file.
9499 * sysdeps/generic/memcpy.c: Include pagecopy.h; call
9500 PAGE_COPY_FWD_MAYBE first when word aligned.
9501 * sysdeps/generic/memmove.c: Likewise.
9503 * misc/bsd-compat.c (longjmp, setjmp): Functions removed.
9504 (getpgrp): Call __getpgid instead of __getpgrp.
9506 * Makefile (subdirs): Add elf first.
9507 * elf/Makefile: New file.
9508 * elf/elf.h: New file.
9510 * sysdeps/unix/start.c (errno): Only define if it's not #define'd
9512 [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol
9515 * csu/Makefile (crtstuff): New variable consolidates crti, crtn;
9517 (install-lib, extra-objs, generated-, omit-deps): Use that.
9518 (initfini): New canned sequence, broken out of crt[in].s rule.
9519 (crt[in].s rule): Use it.
9520 (crt[in]_s.s): New rule.
9521 * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined.
9522 (_init, _fini): Use GLOBAL as storage class.
9523 Add self reference to avoid GCC optimizing out the functions.
9525 * Makefile (headers): Remove $(stddef.h).
9526 * Makeconfig (stddef.h): Variable removed; now require gcc version
9528 * stddef.h: File removed.
9530 Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9532 * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ'
9534 * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise.
9536 * stdlib/strtod.c: Allow the string to start with a decimal point
9537 without a leading zero.
9539 Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
9541 * Makefile (subdirs): Put csu first.
9543 * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
9545 * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
9547 (csu-objpfx): New variable.
9548 (+link): Use it to find start.o and $(+preinit), $(+postinit).
9550 * Rules (subdir_lib, all): Depend on objs.
9552 * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS.
9554 * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in
9555 access to float.h macros.
9557 * misc/efgcvt.c: New file.
9558 * misc/Makefile (routines): Add efgcvt.
9560 Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org>
9562 * sysdeps/sparc/mul.S: Renamed to `dotmul.S'.
9563 * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S',
9564 to avoid a misreference that would override sysdeps/generic/mul.c.
9565 * sysdeps/sparc/Dist: Likewise.
9567 Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
9569 * posix/Makefile (aux): Add environ.
9570 * posix/environ.c: New file.
9571 * sysdeps/unix/sparc/start.c: Remove __environ definition.
9572 * sysdeps/unix/start.c: Likewise.
9573 * sysdeps/unix/sysv/irix4/start.c: Likewise.
9574 * sysdeps/mach/hurd/start.c: Likewise.
9575 * sysdeps/mach/start.c: Likewise.
9576 * sysdeps/stub/start.c: Likewise.
9578 * sysdeps/unix/make_errlist.c: In produced program, test
9579 HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD.
9580 * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file.
9581 Remove extra weak alias.
9583 * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name
9586 * libc-symbols.h: Put comment around ^L to pacify Solaris as.
9588 * sysdeps/posix/Makefile (cded-objdir-includes): New variable
9589 replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of
9591 (mk-stdiolim): Use it instead.
9593 Fri Feb 17 12:16:27 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
9595 * mach/mach_init.c (__vm_page_size): Make it initialized. It does
9596 not work to make a weak alias to a bss symbol.
9598 * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy.
9599 (tests): Add test-fwrite.
9600 * stdio/test-fwrite.c: New file.
9602 * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof,
9605 * Makefile (autoconf-it): New canned sequence. Do cvs commit if
9606 there is a CVS directory.
9607 (configure, %/configure): Use $(autoconf-it) for cmds.
9608 * Make-dist: Likewise.
9609 * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit
9610 if there is a CVS directory.
9611 * sysdeps/sparc/Makefile (divrem output): Likewise.
9612 * sysdeps/alpha/Makefile (divrem output): Likewise.
9613 * Makerules ($(gpl2lgpl)): Likewise.
9615 * Makerules (rule to install lib%.a from $(install-lib)): Fix
9616 patsubst to elide ranlib for $(non-lib.a).
9618 * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg.
9620 Thu Feb 16 04:06:06 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
9622 * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names.
9623 * mach/mig-dealloc.c: Add weak alias mig_deallocate.
9625 Wed Feb 15 13:34:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9627 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg
9628 DEALLOC_REFPORT; deallocate the refport after use only if it
9629 evaluates to nonzero.
9630 * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one.
9631 * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero.
9633 * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set
9634 *STATE_CHANGE to indicate whether or not we changed *STATE and it
9635 should be committed to the thread.
9636 (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes
9637 state for a thread, do thread_set_state on that thread. Don't use
9638 SS->intr_port for collecting reply ports, it is not safe to
9639 clobber that when suspending; instead, alloca a temporary array.
9640 (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs:
9641 zero when dying, one when suspending. Pass new arg to abort_rpcs.
9643 * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor;
9644 HURD_FD_PORT_USE will. Don't use critical sections around
9645 HURD_FD_PORT_USE invocations.
9647 * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered.
9648 * sysdeps/posix/stdio_init.c: Likewise.
9650 Tue Feb 14 03:01:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9652 * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section
9653 locking; don't leave the descriptor locked on return.
9654 (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked.
9655 Use a critical section around locking the descriptor.
9656 Check for an empty descriptor and return EBADF.
9657 * sysdeps/mach/hurd/dup2.c: Likewise.
9658 * sysdeps/mach/hurd/fcntl.c: Likewise.
9659 Use HURD_FD_PORT_USE macro for RPCs.
9660 * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before
9661 using HURD_FD_PORT_USE.
9662 * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get
9663 to lock the descriptor.
9664 * sysdeps/mach/hurd/stdio_init.c: Use critical sections while
9665 locking the descriptor.
9666 * sysdeps/mach/hurd/fdopen.c: Likewise.
9667 * hurd/fd-close.c: Likewise.
9668 Don't expect the descriptor to be locked on entry.
9669 Check for empty descriptor and return EBADF.
9671 Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into
9672 new functions _hurd_ctty_input and _hurd_ctty_output, each
9673 called with (io_t port, io_t ctty, error_t (*rpc) (io_t)).
9674 * hurd/ctty-input.c: New file.
9675 * hurd/ctty-output.c: New file.
9676 * hurd/Makefile (dtable): Add ctty-input and ctty-output.
9677 * hurd/fd-read.c: Use _hurd_ctty_input.
9678 * hurd/fd-write.c: Use _hurd_ctty_output.
9679 * sysdeps/mach/hurd/ioctl.c: Likewise.
9680 * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them.
9682 Mon Feb 13 11:36:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9684 * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof
9685 as appropriate to the type.
9687 * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid
9688 repeating the union.
9689 (HUGE_VAL, __huge_val): Use it.
9690 [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with
9691 analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes.
9692 * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl.
9693 (STRTOF): Set to __strtold; define strtold as weak alias.
9694 * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf.
9695 (STRTOF): Set to __strtof; define strtof as weak alias.
9697 * sysdeps/ieee754/ieee754.h (union ieee754_float): New type.
9698 (IEEE754_FLOAT_BIAS): New macro.
9700 * sysdeps/ieee754/mpn2ldbl.c: Fix typos.
9702 * stdlib/testmb.c: Add tests from rfg for using normal chars as
9705 * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not
9706 only the `defined but not used' warning, but also to avoid GCC
9707 optimizing out the entire function (!).
9709 * stdlib/wctomb.c: Include ctype.h.
9711 * Makerules (install-lib-non.a): Don't include $(non-lib.a).
9713 * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy.
9715 Sat Feb 11 04:05:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9717 * stdio/printf_fp.c: Include "fpioconst.h".
9718 (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10.
9719 (__printf_fp): All references changed.
9720 Don't bother computing THOUSANDS_SEP if GROUPING is empty.
9721 (group_number): Use memmove instead of memcpy, since operands overlap.
9722 * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c.
9723 * stdio/fpioconst.h: New file, header declaring the table data.
9724 * stdio/Makefile (aux): Add fpioconst.
9725 (distribute): Add fpioconst.h.
9726 * stdlib/strtod.c: Complete rewrite from drepper.
9727 * stdlib/strtof.c: New file.
9728 * stdlib/strtold.c: New file.
9729 * stdlib/Makefile (routines): Add strtof, strtold.
9730 * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl.
9731 * sysdeps/stub/mpn2flt.c: New file.
9732 * sysdeps/stub/mpn2dbl.c: New file.
9733 * sysdeps/stub/mpn2ldbl.c: New file.
9734 * sysdeps/ieee754/mpn2flt.c: New file.
9735 * sysdeps/ieee754/mpn2dbl.c: New file.
9736 * sysdeps/ieee754/mpn2ldbl.c: New file.
9738 * Makerules (install-lib.a): Don't filter out $(non-lib.a).
9739 ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@
9740 appears in $(non-lib.a).
9742 Fri Feb 10 17:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9744 * stdlib/wctomb.c: A normal ASCII character translates to itself.
9745 * stdlib/mbtowc.c: Likewise.
9747 Thu Feb 9 03:55:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9749 * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp):
9750 Remove `const' from prototypes.
9751 * sysdeps/m68k/__longjmp.c: Likewise.
9752 * setjmp/longjmp.c: Likewise.
9753 * sysdeps/i386/__longjmp.c: Likewise.
9755 * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop,
9756 so when we return a name, it is incremented past the value that
9757 produces that same name.
9759 * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh.
9760 * stdio/stdio.h (fgets): Likewise.
9762 * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag.
9764 * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call
9765 when it's EBACKGROUND; we need to notice that it is EBACKGROUND
9767 * hurd/fd-read.c: Likewise.
9769 Wed Feb 8 05:01:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9771 * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to
9772 <mach/mig_support.h>.
9773 * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it.
9774 * assert/assert.c: Likewise.
9775 * sysdeps/posix/libc_fatal.c: Likewise.
9777 Tue Feb 7 12:17:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9779 * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define
9780 as macros, to satisfy ANSI pedants.
9782 * stdio/internals.c (flushbuf): When there is no new data after
9783 priming the stream, return without writing out the buffer.
9784 * stdio/Makefile (tests): Add bug7.
9785 * stdio/bug7.c: New file.
9787 * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK,
9788 S_ISSOCK): Define only if the corresponding underlying __S_IF* macro
9791 * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf.
9793 * stdio/Makefile (tests): Add errnobug.
9794 * stdio/errnobug.c: New file.
9796 * mach/mig_strncpy.c: Include string.h.
9798 * sysdeps/mach/sysdep.h: Don't #include <mach/mig_support.h>. Its
9799 inlines cause trouble for files defining global register variables.
9801 * stdio/vfprintf.c: Use _strerror_internal for %m.
9803 * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs.
9805 * stdio/printf.h (struct printf_info): New member `group', for %' flag.
9806 * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag.
9807 * stdio/vfprintf.c (group_number): New function.
9808 (vfprintf): Support %' flag for integer formats, by calling
9809 group_number after formatting the number in WORK.
9810 * stdio/printf_fp.c (guess_grouping, group_number): New functions.
9811 (__printf_fp): Implement `group' flag using them.
9813 * Makefile (include sysd-dirs): Protect with ifndef avoid-generated.
9814 (parent-clean): Remove sysd-rules, not sysdirs.
9815 (distclean): Pass avoid-generated=yes to submake.
9816 (distclean-1): Remove $(sysdep-$(distclean-1)).
9818 * Makerules (objects, objs): Depend on $(extra-objs) too.
9819 (include sysd-Makefile): Protect with ifndef avoid-generated.
9821 * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed.
9822 (CPPFLAGS): Use $(defines) in place of $(+defines).
9823 Replace -D_LIBC with -include $(..)libc-symbols.h.
9825 * stdio/freopen.c: Set seen bit before calling fclose.
9827 Mon Feb 6 18:34:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9829 * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of
9830 successes and each kind of failure. Return EPERM or EACCES only
9831 if every task failed that way.
9833 * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers
9836 * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop
9837 or resume the process after frobbing.
9839 * hurd/hurdsig.c: Use spin lock operations on sigstate locks
9841 (_hurd_thread_sigstate): Don't lock the sigstate lock.
9842 (_hurd_internal_post_signal): New subfunction `mark_pending'; replace
9843 repeated sequences with calls to it. Don't expect the sigstate
9844 lock to be held on entry; lock it just before examining sigaction.
9845 In handler case, check SS->critical_section after calling
9846 abort_rpcs; if set, mark the signal pending and resume the thread.
9847 * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed.
9848 (_hurd_self_sigstate): Don't lock the sigstate lock.
9849 (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of
9850 _hurd_self_sigstate_unlocked.
9851 * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock
9853 * hurd/hurdexec.c: Use spin lock operations on sigstate lock.
9854 Don't expect _hurd_self_sigstate to lock it. Fix critical section
9856 * hurd/hurd-raise.c: Likewise.
9857 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
9858 * sysdeps/mach/hurd/sigpending.c: Likewise.
9859 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
9860 * sysdeps/mach/hurd/sigaction.c: Likewise.
9861 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
9862 * hurd/fd-write.c: Likewise.
9863 * hurd/fd-read.c: Likewise.
9864 * sysdeps/mach/hurd/ioctl.c: Likewise.
9865 * sysdeps/mach/hurd/fork.c: Likewise.
9866 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
9867 * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
9868 * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
9869 * hurd/hurdmsg.c (get_int): Likewise.
9871 * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code.
9873 * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made
9875 (PAD): Caller changed.
9876 * stdio/printf_fp.c (__pad): Function removed.
9877 (PAD): Use __printf_pad instead.
9879 Sun Feb 5 17:59:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9881 Merged new FP printer by Ulrich Drepper.
9882 * stdio/printf_fp.c: Rewrite by drepper.
9883 * stdio/Makefile (routines): Add ldbl2mpn.
9884 * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan'
9886 (union ieee854_long_double): New type, from drepper.
9887 (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros.
9888 * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper.
9889 * sysdeps/stub/ldbl2mpn.c: New file.
9890 * math/Makefile (routines): Add isinfl and isnanl.
9891 * sysdeps/ieee754/isinfl.c: New file.
9892 * sysdeps/stub/isinfl.c: New file.
9893 * sysdeps/ieee754/isnanl.c: New file.
9894 * sysdeps/stub/isnanl.c: New file.
9896 * malloc/malloc.c (__malloc_extra_blocks): New variable.
9897 (malloc): When getting more core, get __malloc_extra_blocks extra;
9898 put the new block at the end of the free list and let the next loop
9899 iteration use the initial portion of it.
9900 * malloc/free.c (_free_internal): Account for twice
9901 __malloc_extra_blocks in deciding if we have so much extra memory
9902 we should return it to the system.
9903 * malloc/malloc.h (__malloc_extra_blocks): Declare it.
9904 * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous
9905 const in parameter decl.
9907 * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive.
9909 Fri Feb 3 18:15:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9911 * munch.awk (EXTERNS): Print decls using __P instead of EXFUN.
9913 * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
9914 * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'.
9915 * sysdeps/mips/bsd-setjmp.S: Likewise.
9916 * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword.
9917 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
9918 Use `long int' for sigcode. Use explicit register numbers instead
9920 (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault.
9921 * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode.
9923 Thu Feb 2 20:06:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9925 * hurd/hurdmalloc.c: Remove bogus bcopy decl.
9927 * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten
9930 * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES.
9932 * stdio/vfprintf.c: Set PREC to zero for %. without following digit.
9934 Tue Jan 31 13:49:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9936 * mach/mig_strncpy.c: Include mach.h instead of string.h. Use
9937 vm_size_t instead of size_t for arg and return types.
9939 * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h
9942 Mon Jan 30 00:33:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9944 * set-hooks.h (RUN_HOOK): Dereference PTR properly.
9946 * configure.in (friendly stddef.h check): Write override defn for
9947 `stddef.h' Make variable.
9948 (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty.
9950 * configure.in (host_os=sysv4*|solaris2*): Set elf=yes.
9952 * Rules ($(objpfx)dummy.o): Write an empty function, not just an
9955 * sysdeps/sparc/Makefile (sysdep-realclean): New variable.
9957 Sat Jan 28 03:38:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9959 * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h.
9961 * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of
9962 mach/machine/syscall_sw.h with this.
9964 Fri Jan 27 18:33:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9966 * hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h>
9967 instead of <lock-intern.h>.
9968 (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'.
9969 (_hurd_critical_section_lock): Use spin lock operators.
9970 Don't hold the sigstate lock, unlock it after setting the flag.
9971 (_hurd_critical_section_unlock): Take the sigstate lock
9972 to clear the flag; while holding it, check pending signals. After
9973 unlocking, sig_post ourselves if there were pending signals.
9975 * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the
9976 sigstate lock. If it is locked, clear SS->critical_section and
9977 SS->context, and unlock it.
9979 * sysdeps/mach/sysdep.h (EXT, LEXT): New macros.
9981 * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini).
9982 * munch-tmpl.c: Likewise.
9984 * mach/Makefile (routines): Don't filter out syscall_% from
9987 Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com)
9989 * posix/fnmatch.c: Declare errno if it's not defined.
9990 That's simpler than testing #if !defined(__GNU_LIBRARY__)
9991 && !defined(STDC_HEADERS).
9993 Fri Jan 27 15:40:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9995 * csu/Makefile: New file.
9996 * csu/initfini.c: New file.
9997 * Makefile (+other_dirs): Add csu.
9998 (+init): Variable renamed to libc-init. All references changed.
9999 (aux): Remove start.
10000 (install-lib): Variable removed.
10001 (crt0.o, Mcrt1.o crt1.o): Targets removed.
10003 * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h
10004 and $(objpfx)config.h.
10005 (static deps of RPC alias *.o): Removed.
10007 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]:
10008 Protect macros with this.
10009 * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise.
10010 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
10011 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
10012 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
10013 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
10014 * sysdeps/unix/mips/sysdep.h: Likewise.
10016 Thu Jan 26 00:02:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10018 * Makerules (compile.[Sc]): Match gcc in $(CC) better.
10019 (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h.
10021 * hurd/intr-rpc.awk: Emit weak alias.
10023 * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of
10026 * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with
10028 * sysdeps/unix/i386/sysdep.h: Likewise.
10029 * sysdeps/unix/sparc/sysdep.h: Likewise.
10031 * io/ftw.c: Avoid `ret' as variable name.
10032 * posix/glob.c: Likewise.
10034 * ctype/ctype.h (_ISalpha): Define as its own bit.
10035 * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters.
10037 * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and
10038 DEFINE_HOOK with this.
10040 Wed Jan 25 00:45:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10042 * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'.
10043 * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name.
10044 * mach/shortcut.awk: Emit weak alias.
10045 * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions.
10046 * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for
10048 * mach/Makefile (lock): Remove spin-syms.
10049 (routines): Remove __ names, vm_page_size, msgserver_t.
10050 ($(mach-syscalls) rule): Generate files without __, add weak alias.
10051 Remove symbol alias file rule.
10052 ($(mach-shortcuts) rule): Likewise.
10053 [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too.
10054 * mach/Machrules (if-calls.c): Variable and rule removed.
10055 (interface-headers): Don't add $($(if)-calls).
10056 (transform-user-stub): Define to add weak alias.
10057 * set-hooks.h: Use new libc-symbols.h set access macros.
10058 * time/Makefile (routines): Remove __ names.
10059 (aux): Variable removed.
10060 * hurd/Makefile: Likewise.
10061 * sysdeps/unix/start.c (environ): Define as weak alias for __environ.
10062 (data_start): Define as weak alias for __data_start.
10063 * sysdeps/mach/hurd/start.c: Likewise.
10064 * sysdeps/unix/sparc/start.c: Likewise.
10065 * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and
10067 * sysdeps/mach/hurd/errlist.awk: Likewise.
10068 * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak
10069 alias for __environ.
10070 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
10071 * sysdeps/stub/setdomain.c: Use new stub_warning macro.
10072 * sysdeps/stub/getdomain.c: Likewise.
10073 * sysdeps/stub/vhangup.c: Likewise.
10074 * sysdeps/stub/swapon.c: Likewise.
10075 * sysdeps/stub/sendmsg.c: Likewise.
10076 * sysdeps/stub/recvmsg.c: Likewise.
10077 * sysdeps/stub/acct.c: Likewise.
10078 * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf.
10079 * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword.
10080 * sysdeps/posix/libc_fatal.c: Likewise.
10081 * sysdeps/i386/abort.c: Likewise.
10082 * sysdeps/i386/__longjmp.c: Likewise.
10083 * sysdeps/generic/make_siglist.c: Emit defn always for
10084 _sys_siglist. Emit weak alias to sys_siglist.
10085 * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword.
10086 * sysdeps/ieee754/log10.c: Likewise.
10087 * time/difftime.c: Likewise.
10088 * stdlib/random.c (srand): Define as weak alias for __srandom.
10089 * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks
10090 macros for __libc_atexit.
10091 * stdlib/Makefile (routines): Remove __random, srand.
10092 * stdio/gets.c: Use new link_warning macro instead of old
10094 * stdio/Makefile (routines): Remove __ names.
10095 (aux): Remove syms-stdio.
10096 * socket/Makefile (routines): Added e on getpeernam and getsocknam.
10097 * setjmp/longjmp.c: Remove obsolete __NORETURN keyword.
10098 * setjmp/Makefile (routines): Remove _longjmp, siglongjmp.
10099 * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses.
10100 * stdio/stdio.h: Likewise.
10101 * misc/Makefile (routines): Remove __ names.
10102 (aux): Remove data_start.
10103 * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h.
10104 * sysdeps/mach/hurd/brk.c: Likewise.
10105 * hurd/hurdid.c: Likewise.
10106 * hurd/hurdpid.c: Likewise.
10107 * hurd/openport.c: Likewise.
10108 * hurd/hurdsock.c: Likewise.
10109 * hurd/hurdsig.c: Likewise.
10110 * hurd/hurdrlimit.c: Likewise.
10111 * hurd/hurdmalloc.c: Likewise.
10112 * hurd/dtable.c: Likewise.
10113 * hurd/setauth.c: Likewise.
10114 * misc/progname.c: Likewise.
10115 * misc/init-misc.c: Likewise.
10116 * sysdeps/generic/vfork.c: Likewise.
10117 * sysdeps/unix/bsd/init-posix.c: Likewise.
10118 * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses.
10119 * time/time.h: Likewise.
10120 * math/Makefile (routines): Remove __ names.
10121 * io/Makefile: Likewise.
10122 * termios/Makefile: Likewise.
10123 * resource/Makefile: Likewise.
10124 * signal/Makefile: Likewise.
10125 * dirent/Makefile: Likewise.
10126 * assert/assert.h: Replace __NORETURN keyword with __attribute__
10127 uses. Functions return void and macros deal with this.
10128 * assert/assert-perr.c: Remove obsolete __NORETURN keyword.
10129 Return void. Don't include gnu-stabs.h.
10130 * assert/assert.c: Likewise.
10131 * posix/Makefile (routines): Remove __ names, setpgrp. Add
10133 (aux): Remove environ.
10134 * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with
10136 * posix/unistd.h (_exit): Likewise.
10137 (__getpgrp, __setpgrp): Declarations removed.
10138 (__getpgid, getpid): Declare these.
10140 * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST
10141 for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on
10142 $libc_link_{sources,dests}.
10143 * sysdeps/unix/configure.in: Remove __ from file names. Don't
10144 create files, just add to libc_link_{dests,sources}.
10146 * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables.
10148 * config.h.in: Add #undefs used by sysdeps configures.
10150 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed
10151 __setpgid, __getpgid.
10152 * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed
10154 * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed
10156 * sysdeps/unix/bsd/getpgrp.c: File removed.
10157 * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c.
10158 Call __getpgid with zero.
10159 * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added
10160 weak aliases setpgid and setpgrp.
10161 * sysdeps/unix/sysv/irix4/setpgid.S: Likewise.
10162 * sysdeps/unix/common/setpgid.S: Likewise.
10163 * sysdeps/mach/hurd/setpgid.c: Likewise.
10164 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
10165 Use subcall 5 to __pgrpsys.
10166 * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added
10167 weak alias getpgid.
10168 * sysdeps/mach/hurd/getpgid.c: Likewise.
10169 * sysdeps/unix/sysv/irix4/getpgid.S: Likewise.
10170 * sysdeps/unix/common/getpgid.S: Likewise.
10171 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
10172 Use subcall 4 to __pgrpsys.
10173 * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c.
10174 * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c.
10175 * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c.
10176 * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S.
10177 * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S.
10178 * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c.
10179 * sysdeps/stub/setpgrp.c: Renamed to setpgid.c.
10180 * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c.
10181 * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c.
10182 * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S.
10183 * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S.
10184 * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c.
10186 * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed
10189 * sysdeps/posix/defs.c: Don't include gnu-stabs.h.
10190 * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub
10192 * sysdeps/stub/fexecve.c: Likewise.
10193 * sysdeps/stub/fchdir.c: Likewise.
10194 * sysdeps/stub/fchflags.c: Likewise.
10195 * sysdeps/stub/chflags.c: Likewise.
10197 * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete.
10198 * sysdeps/generic/abort.c: Likewise.
10199 * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete.
10201 * hurd/hurdioctl.c: Include hurd/ioctl.h.
10202 (_hurd_ioctl_handler_lists): Define this set.
10203 (_hurd_lookup_ioctl_handler): New function.
10204 * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h.
10205 * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h.
10206 (_hurd_lookup_ioctl_handler): Declare it.
10207 (ioctl_handler_t): New typedef. Use it throughout.
10208 * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h.
10209 (_hurd_ioctl_handler_lists): Don't define.
10210 (__ioctl): Call _hurd_lookup_ioctl_handler.
10212 * stdlib/strtol.c (maxquad): Make this const.
10213 [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case.
10215 * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before
10218 * sysdeps/mach/hurd/setitimer.c (timer_thread): Call
10219 __msg_sig_post_request, not __sig_post_request.
10221 * misc/getusersh.c: Renamed to getusershell.c.
10222 * sysdeps/stub/sethostnam.c: Renamed to sethostname.c.
10223 * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S.
10224 * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c.
10225 * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c.
10227 Tue Jan 24 00:14:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10229 * sysdeps/stub/settod.c: Renamed to settimeofday.c.
10230 * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c.
10231 * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c.
10232 * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c.
10233 * sysdeps/stub/setitmr.c: Renamed to setitimer.c.
10234 * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S.
10235 * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c.
10236 * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c.
10237 * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c.
10238 * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c.
10239 * sysdeps/stub/getprio.c: Renamed to getpriority.c.
10240 * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c.
10241 * sysdeps/unix/common/getprio.S: Renamed to getpriority.S.
10242 * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c.
10243 * sysdeps/stub/setprio.c: Renamed to setpriority.c.
10244 * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c.
10245 * sysdeps/unix/common/setprio.S: Renamed to setpriority.S.
10246 * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c.
10247 * sysdeps/stub/getpeernam.c: Renamed to getpeername.c.
10248 * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S.
10249 * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S.
10250 * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c.
10251 * sysdeps/stub/getsocknam.c: Renamed to getsockname.c.
10252 * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S.
10253 * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S.
10254 * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c.
10255 * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c.
10256 * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S.
10257 * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S.
10258 * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c.
10260 * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead
10262 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
10263 * sysdeps/mach/hurd/kill.c: Likewise.
10264 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
10266 * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed.
10267 [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty.
10269 * sysdeps/stub/remove.c: New file.
10270 * sysdeps/posix/remove.c: New file.
10272 Mon Jan 23 03:26:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10274 * time/mktime.c [weak_alias] (timelocal): Define as weak alias for
10276 * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for
10278 * mach/msg-destroy.c: Renamed from __msg_dest.c.
10279 (mach_msg_destroy): Define as weak alias for __mach_msg_destroy.
10280 * mach/setup-thread.c (mach_setup_thread): Define as weak alias.
10281 * time/tzset.c (tzname, daylight, timezone): Define as weak
10282 aliases for __ names.
10283 * hurd/hurdkill.c (hurd_sig_post): Define as weak alias.
10284 * hurd/hurdlookup.c: Add weak aliases for non-__ names.
10285 * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs)
10288 Sun Jan 22 15:19:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10290 * string/Makefile (routines): Remove __ names, index, rindex, and
10292 * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak
10294 * sysdeps/generic/strchr.c: Likewise.
10295 * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak
10297 * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak
10300 * malloc/free.c (cfree): Define this function, with weak_alias if
10301 available, otherwise a C function.
10302 * malloc/Makefile (gmalloc-routines): Remove cfree.
10304 Sat Jan 21 08:08:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10306 * stdio/fseek.c: Do move bufp by O when that puts it exactly at
10307 get_limit. This has the effect of no-op'ing properly for zero.
10309 * configure.in: Add AC_CONFIG_HEADER(config.h).
10310 (--with-elf, --with-weak-symbols): Grok these and define HAVE_*.
10311 * config.h.in: New file.
10313 * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp.
10314 All code converted to use weak symbols, defined in the files which
10315 define the real code (with the __ names, the non-__ names are weak).
10316 All old symbol alias files removed.
10317 Many files renamed to remove __ prefix since there is now just
10318 the one file for both the __ and non-__ name for each function.
10319 * libc-symbols.h: New file.
10320 * set-hooks.h: Use libc-symbols.h macros for accessing symbol
10322 * gnu-stabs.h: Prepend #error this file is obsolete.
10323 * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb.
10324 * sysdeps/stub/__access.c: Renamed to access.c; added weak alias
10326 * sysdeps/unix/common/__access.S: Likewise.
10327 * sysdeps/mach/hurd/__access.c: Likewise.
10328 * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias
10330 * sysdeps/unix/common/__adjtime.S: Likewise.
10331 * sysdeps/mach/__adjtime.c: Likewise.
10332 * sysdeps/mach/hurd/__adjtime.c: Likewise.
10333 * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk.
10334 * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise.
10335 * sysdeps/unix/bsd/vax/__brk.S: Likewise.
10336 * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise.
10337 * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise.
10338 * sysdeps/unix/i386/__brk.S: Likewise.
10339 * sysdeps/unix/sparc/__brk.S: Likewise.
10340 * sysdeps/unix/mips/__brk.S: Likewise.
10341 * sysdeps/mach/hurd/__brk.c: Likewise.
10342 * sysdeps/standalone/__brk.c: Likewise.
10343 * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir.
10344 * sysdeps/unix/__chdir.S: Likewise.
10345 * sysdeps/mach/hurd/__chdir.c: Likewise.
10346 * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod.
10347 * sysdeps/unix/__chmod.S: Likewise.
10348 * sysdeps/mach/hurd/__chmod.c: Likewise.
10349 * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown.
10350 * sysdeps/unix/__chown.S: Likewise.
10351 * sysdeps/mach/hurd/__chown.c: Likewise.
10352 * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close.
10353 * sysdeps/unix/__close.S: Likewise.
10354 * sysdeps/mach/hurd/__close.c: Likewise.
10355 * sysdeps/standalone/__close.c: Likewise.
10356 * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak
10358 * sysdeps/ieee754/__copysign.c: Likewise.
10359 * sysdeps/alpha/__copysign.c: Likewise.
10360 * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem.
10361 * sysdeps/m68k/fpu/__drem.c: Likewise.
10362 * sysdeps/stub/__drem.c: Likewise.
10363 * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup.
10364 * sysdeps/stub/__dup.c: Likewise.
10365 * sysdeps/unix/__dup.S: Likewise.
10366 * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2.
10367 * sysdeps/stub/__dup2.c: Likewise.
10368 * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise.
10369 * sysdeps/unix/sysv/irix4/__dup2.c: Likewise.
10370 * sysdeps/unix/common/__dup2.S: Likewise.
10371 * sysdeps/mach/hurd/__dup2.c: Likewise.
10372 * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias
10374 * sysdeps/unix/__execve.S: Likewise.
10375 * sysdeps/mach/hurd/__execve.c: Likewise.
10376 * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias
10378 * sysdeps/m68k/fpu/__expm1.c: Likewise.
10379 * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias
10381 * sysdeps/unix/common/__fchmod.S: Likewise.
10382 * sysdeps/mach/hurd/__fchmod.c: Likewise.
10383 * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias
10385 * sysdeps/unix/common/__fchown.S: Likewise.
10386 * sysdeps/mach/hurd/__fchown.c: Likewise.
10387 * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl.
10388 * sysdeps/unix/__fcntl.S: Likewise.
10389 * sysdeps/mach/hurd/__fcntl.c: Likewise.
10390 * math/__finite.c: Renamed to finite.c; added weak alias finite.
10391 * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock.
10392 * sysdeps/stub/__flock.c: Likewise.
10393 * sysdeps/unix/bsd/__flock.S: Likewise.
10394 * sysdeps/mach/hurd/__flock.c: Likewise.
10395 * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias
10397 * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork.
10398 * sysdeps/unix/__fork.S: Likewise.
10399 * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise.
10400 * sysdeps/unix/i386/__fork.S: Likewise.
10401 * sysdeps/unix/sparc/__fork.S: Likewise.
10402 * sysdeps/unix/mips/__fork.S: Likewise.
10403 * sysdeps/mach/hurd/__fork.c: Likewise.
10404 * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak
10406 * sysdeps/stub/__fpathcon.c: Likewise.
10407 * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise.
10408 * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat.
10409 * sysdeps/unix/__fstat.S: Likewise.
10410 * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
10411 * sysdeps/mach/hurd/__fstat.c: Likewise.
10412 * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias
10414 * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak
10416 * sysdeps/unix/__getdents.c: Likewise.
10417 * sysdeps/unix/bsd/sun/__getdents.S: Likewise.
10418 * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise.
10419 * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise.
10420 * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise.
10421 * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise.
10422 * sysdeps/unix/sysv/__getdents.c: Likewise.
10423 * sysdeps/mach/hurd/__getdents.c: Likewise.
10424 * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport.
10425 * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak
10426 alias getdtablesize.
10427 * sysdeps/stub/__getdtsz.c: Likewise.
10428 * sysdeps/unix/bsd/__getdtsz.S: Likewise.
10429 * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise.
10430 * sysdeps/mach/hurd/__getdtsz.c: Likewise.
10431 * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias
10433 * sysdeps/unix/__getegid.S: Likewise.
10434 * sysdeps/mach/hurd/__getegid.c: Likewise.
10435 * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias
10437 * sysdeps/unix/__geteuid.S: Likewise.
10438 * sysdeps/mach/hurd/__geteuid.c: Likewise.
10439 * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias
10441 * sysdeps/unix/__getgid.S: Likewise.
10442 * sysdeps/mach/hurd/__getgid.c: Likewise.
10443 * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak
10445 * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise.
10446 * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise.
10447 * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise.
10448 * sysdeps/unix/common/__getgrps.S: Likewise.
10449 * sysdeps/mach/hurd/__getgrps.c: Likewise.
10450 * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak
10452 * sysdeps/unix/inet/__gethstnm.S: Likewise.
10453 * sysdeps/unix/sysv/__gethstnm.c: Likewise.
10454 * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise.
10455 * sysdeps/mach/hurd/__gethstnm.c: Likewise.
10456 * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak
10458 * sysdeps/unix/common/__getitmr.S: Likewise.
10459 * sysdeps/mach/hurd/__getitmr.c: Likewise.
10460 * stdio/__getline.c: Renamed to getline.c; added weak alias getline.
10461 * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak
10463 * sysdeps/stub/__getpgsz.c: Likewise.
10464 * sysdeps/unix/__getpgsz.c: Likewise.
10465 * sysdeps/unix/bsd/__getpgsz.S: Likewise.
10466 * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise.
10467 * sysdeps/mach/__getpgsz.c: Likewise.
10468 * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias
10470 * sysdeps/unix/__getpid.S: Likewise.
10471 * sysdeps/mach/hurd/__getpid.c: Likewise.
10472 * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias
10474 * sysdeps/unix/__getppid.S: Likewise.
10475 * sysdeps/mach/hurd/__getppid.c: Likewise.
10476 * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak
10477 alias gettimeofday.
10478 * sysdeps/stub/__gettod.c: Likewise.
10479 * sysdeps/unix/sysv/irix4/__gettod.c: Likewise.
10480 * sysdeps/unix/common/__gettod.S: Likewise.
10481 * sysdeps/mach/__gettod.c: Likewise.
10482 * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias
10484 * sysdeps/unix/__getuid.S: Likewise.
10485 * sysdeps/mach/hurd/__getuid.c: Likewise.
10486 * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak
10488 * sysdeps/ieee754/__infnan.c: Likewise.
10489 * sysdeps/vax/__infnan.c: Likewise.
10490 * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl.
10491 * sysdeps/unix/__ioctl.S: Likewise.
10492 * sysdeps/mach/hurd/__ioctl.c: Likewise.
10493 * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias
10495 * sysdeps/stub/__isatty.c: Likewise.
10496 * sysdeps/unix/bsd/__isatty.c: Likewise.
10497 * sysdeps/mach/hurd/__isatty.c: Likewise.
10498 * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias
10500 * sysdeps/m68k/fpu/__isinf.c: Likewise.
10501 * sysdeps/stub/__isinf.c: Likewise.
10502 * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias
10504 * sysdeps/ieee754/__isnan.c: Likewise.
10505 * sysdeps/m68k/fpu/__isnan.c: Likewise.
10506 * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill.
10507 * sysdeps/unix/__kill.S: Likewise.
10508 * sysdeps/mach/hurd/__kill.c: Likewise.
10509 * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link.
10510 * sysdeps/unix/__link.S: Likewise.
10511 * sysdeps/mach/hurd/__link.c: Likewise.
10512 * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb.
10513 * sysdeps/m68k/fpu/__logb.c: Likewise.
10514 * sysdeps/stub/__logb.c: Likewise.
10515 * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek.
10516 * sysdeps/unix/__lseek.S: Likewise.
10517 * sysdeps/mach/hurd/__lseek.c: Likewise.
10518 * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias
10520 * sysdeps/stub/__lstat.c: Likewise.
10521 * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
10522 * sysdeps/unix/common/__lstat.S: Likewise.
10523 * sysdeps/mach/hurd/__lstat.c: Likewise.
10524 * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak
10526 * sysdeps/vax/__memccpy.c: Likewise.
10527 * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir.
10528 * sysdeps/unix/sysv/__mkdir.c: Likewise.
10529 * sysdeps/unix/common/__mkdir.S: Likewise.
10530 * sysdeps/mach/hurd/__mkdir.c: Likewise.
10531 * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod.
10532 * sysdeps/unix/__mknod.S: Likewise.
10533 * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise.
10534 * sysdeps/mach/hurd/__mknod.c: Likewise.
10535 * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg.
10536 * mach/__msgserver.c: Renamed to msgserver.c; added weak alias
10538 * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open.
10539 * sysdeps/unix/__open.S: Likewise.
10540 * sysdeps/mach/hurd/__open.c: Likewise.
10541 * sysdeps/standalone/__open.c: Likewise.
10542 * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak
10544 * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise.
10545 * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise.
10546 * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task.
10547 * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe.
10548 * sysdeps/unix/bsd/vax/__pipe.S: Likewise.
10549 * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
10550 * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise.
10551 * sysdeps/unix/i386/__pipe.S: Likewise.
10552 * sysdeps/unix/sparc/__pipe.S: Likewise.
10553 * sysdeps/unix/mips/__pipe.S: Likewise.
10554 * sysdeps/mach/hurd/__pipe.c: Likewise.
10555 * stdlib/__random.c: Renamed to random.c; added weak alias random.
10556 * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read.
10557 * sysdeps/unix/__read.S: Likewise.
10558 * sysdeps/mach/hurd/__read.c: Likewise.
10559 * sysdeps/standalone/__read.c: Likewise.
10560 * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak
10562 * sysdeps/unix/common/__readlink.S: Likewise.
10563 * sysdeps/mach/hurd/__readlink.c: Likewise.
10564 * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint.
10565 * sysdeps/m68k/fpu/__rint.c: Likewise.
10566 * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir.
10567 * sysdeps/unix/sysv/__rmdir.c: Likewise.
10568 * sysdeps/unix/common/__rmdir.S: Likewise.
10569 * sysdeps/mach/hurd/__rmdir.c: Likewise.
10570 * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk.
10571 * sysdeps/stub/__sbrk.c: Likewise.
10572 * sysdeps/mach/hurd/__sbrk.c: Likewise.
10573 * math/__scalb.c: Renamed to scalb.c; added weak alias scalb.
10574 * sysdeps/stub/__select.c: Renamed to select.c; added weak alias
10576 * sysdeps/unix/common/__select.S: Likewise.
10577 * sysdeps/mach/hurd/__select.c: Likewise.
10578 * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth.
10579 * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias
10581 * sysdeps/unix/__setgid.S: Likewise.
10582 * sysdeps/unix/bsd/__setgid.c: Likewise.
10583 * sysdeps/mach/hurd/__setgid.c: Likewise.
10584 * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias
10586 * sysdeps/unix/common/__setitmr.S: Likewise.
10587 * sysdeps/mach/hurd/__setitmr.c: Likewise.
10588 * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias
10590 * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise.
10591 * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise.
10592 * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise.
10593 * sysdeps/unix/common/__setpgrp.S: Likewise.
10594 * sysdeps/mach/hurd/__setpgrp.c: Likewise.
10595 * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak
10597 * sysdeps/unix/common/__setregid.S: Likewise.
10598 * sysdeps/mach/hurd/__setregid.c: Likewise.
10599 * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak
10601 * sysdeps/unix/common/__setreuid.S: Likewise.
10602 * sysdeps/mach/hurd/__setreuid.c: Likewise.
10603 * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias
10605 * sysdeps/unix/bsd/__setsid.c: Likewise.
10606 * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise.
10607 * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise.
10608 * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise.
10609 * sysdeps/unix/sysv/linux/__setsid.S: Likewise.
10610 * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise.
10611 * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise.
10612 * sysdeps/mach/hurd/__setsid.c: Likewise.
10613 * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias
10615 * sysdeps/unix/bsd/__settod.S: Likewise.
10616 * sysdeps/unix/sysv/__settod.c: Likewise.
10617 * sysdeps/mach/hurd/__settod.c: Likewise.
10618 * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias
10620 * sysdeps/unix/__setuid.S: Likewise.
10621 * sysdeps/unix/bsd/__setuid.c: Likewise.
10622 * sysdeps/mach/hurd/__setuid.c: Likewise.
10623 * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak
10625 * sysdeps/stub/__sigblock.c: Likewise.
10626 * sysdeps/unix/bsd/__sigblock.S: Likewise.
10627 * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise.
10628 * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise.
10629 * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak
10631 * sysdeps/stub/__sigpause.c: Likewise.
10632 * sysdeps/unix/bsd/__sigpause.S: Likewise.
10633 * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
10634 * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak
10636 * sysdeps/unix/bsd/__sigproc.c: Likewise.
10637 * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise.
10638 * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise.
10639 * sysdeps/mach/hurd/__sigproc.c: Likewise.
10640 * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak
10642 * sysdeps/unix/bsd/sun/__sigret.S: Likewise.
10643 * sysdeps/unix/sysv/i386/__sigret.S: Likewise.
10644 * sysdeps/unix/sysv/irix4/__sigret.S: Likewise.
10645 * sysdeps/unix/i386/__sigret.S: Likewise.
10646 * sysdeps/unix/mips/__sigret.S: Likewise.
10647 * sysdeps/mach/hurd/i386/__sigret.c: Likewise.
10648 * sysdeps/mach/hurd/alpha/__sigret.c: Likewise.
10649 * sysdeps/mach/hurd/mips/__sigret.c: Likewise.
10650 * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias
10652 * sysdeps/stub/__sigvec.c: Likewise.
10653 * sysdeps/unix/bsd/__sigvec.S: Likewise.
10654 * sysdeps/unix/bsd/sun/__sigvec.S: Likewise.
10655 * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise.
10656 * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise.
10657 * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise.
10658 * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
10659 * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat.
10660 * sysdeps/unix/__stat.S: Likewise.
10661 * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise.
10662 * sysdeps/mach/hurd/__stat.c: Likewise.
10663 * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak
10665 * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias
10667 * sysdeps/unix/common/__symlink.S: Likewise.
10668 * sysdeps/mach/hurd/__symlink.c: Likewise.
10669 * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak
10671 * sysdeps/stub/__sysconf.c: Likewise.
10672 * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise.
10673 * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
10674 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise.
10675 * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise.
10676 * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid.
10677 * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times.
10678 * sysdeps/unix/bsd/__times.c: Likewise.
10679 * sysdeps/unix/sysv/__times.S: Likewise.
10680 * time/__tzset.c: Renamed to tzset.c; added weak alias tzset.
10681 * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask.
10682 * sysdeps/unix/__umask.S: Likewise.
10683 * sysdeps/mach/hurd/__umask.c: Likewise.
10684 * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias
10686 * sysdeps/unix/__unlink.S: Likewise.
10687 * sysdeps/mach/hurd/__unlink.c: Likewise.
10688 * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias
10690 * sysdeps/unix/bsd/__utimes.S: Likewise.
10691 * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise.
10692 * sysdeps/mach/hurd/__utimes.c: Likewise.
10693 * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias
10695 * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
10696 * sysdeps/unix/bsd/vax/__vfork.S: Likewise.
10697 * sysdeps/unix/bsd/i386/__vfork.S: Likewise.
10698 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
10699 * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise.
10700 * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise.
10701 * sysdeps/unix/sparc/__vfork.S: Likewise.
10702 * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf.
10703 * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf.
10704 * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait.
10705 * sysdeps/stub/__wait.c: Likewise.
10706 * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise.
10707 * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise.
10708 * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise.
10709 * sysdeps/unix/bsd/vax/__wait.S: Likewise.
10710 * sysdeps/unix/bsd/m68k/__wait.S: Likewise.
10711 * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise.
10712 * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise.
10713 * sysdeps/unix/sysv/irix4/__wait.S: Likewise.
10714 * sysdeps/unix/i386/__wait.S: Likewise.
10715 * sysdeps/unix/mips/__wait.S: Likewise.
10716 * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3.
10717 * sysdeps/stub/__wait3.c: Likewise.
10718 * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise.
10719 * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise.
10720 * sysdeps/unix/bsd/vax/__wait3.S: Likewise.
10721 * sysdeps/unix/bsd/i386/__wait3.S: Likewise.
10722 * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise.
10723 * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise.
10724 * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise.
10725 * sysdeps/unix/sysv/irix4/__wait3.S: Likewise.
10726 * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4.
10727 * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise.
10728 * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
10729 * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise.
10730 * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise.
10731 * sysdeps/unix/sysv/linux/__wait4.S: Likewise.
10732 * sysdeps/mach/hurd/__wait4.c: Likewise.
10733 * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias
10735 * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise.
10736 * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise.
10737 * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise.
10738 * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise.
10739 * sysdeps/unix/sysv/linux/__waitpid.S: Likewise.
10740 * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise.
10741 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise.
10742 * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise.
10743 * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write.
10744 * sysdeps/unix/__write.S: Likewise.
10745 * sysdeps/mach/hurd/__write.c: Likewise.
10746 * sysdeps/standalone/__write.c: Likewise.
10747 * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak
10749 * sysdeps/unix/bsd/__tcgetatr.c: Likewise.
10750 * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise.
10751 * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
10752 * sysdeps/unix/sysv/__tcgetatr.c: Likewise.
10753 * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak
10755 * sysdeps/unix/bsd/__sigact.c: Likewise.
10756 * sysdeps/unix/sysv/__sigact.c: Likewise.
10757 * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise.
10758 * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise.
10759 * sysdeps/mach/hurd/__sigact.c: Likewise.
10760 * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak
10762 * sysdeps/stub/__sigstmsk.c: Likewise.
10763 * sysdeps/unix/bsd/__sigstmsk.S: Likewise.
10764 * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise.
10765 * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
10766 * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak
10768 * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise.
10769 * sysdeps/unix/common/__getrusag.S: Likewise.
10770 * hurd/task2pid.c: File removed.
10771 * hurd/setauth.c: File removed.
10772 * hurd/pid2task.c: File removed.
10773 * hurd/hurdsyms.c: File removed.
10774 * hurd/getdport.c: File removed.
10775 * hurd/fopenport.c: File removed.
10776 * mach/thread-sym.c: File removed.
10777 * mach/spin-syms.c: File removed.
10778 * mach/msgserver_t.c: File removed.
10779 * mach/msgserver.c: File removed.
10780 * mach/msg.c: File removed.
10781 * mach/mig_syms.c: File removed.
10782 * malloc/mcheck-init.c: File removed.
10783 * malloc/cfree.c: File removed.
10784 * io/flock.c: File removed.
10785 * io/write.c: File removed.
10786 * io/unlink.c: File removed.
10787 * io/umask.c: File removed.
10788 * io/symlink.c: File removed.
10789 * io/rmdir.c: File removed.
10790 * io/readlink.c: File removed.
10791 * io/read.c: File removed.
10792 * io/pipe.c: File removed.
10793 * io/open.c: File removed.
10794 * io/mkdir.c: File removed.
10795 * io/lstat.c: File removed.
10796 * io/lseek.c: File removed.
10797 * io/link.c: File removed.
10798 * io/isatty.c: File removed.
10799 * io/stat.c: File removed.
10800 * io/fstat.c: File removed.
10801 * io/fchown.c: File removed.
10802 * io/fchmod.c: File removed.
10803 * io/dup2.c: File removed.
10804 * io/dup.c: File removed.
10805 * io/close.c: File removed.
10806 * io/fcntl.c: File removed.
10807 * io/chmod.c: File removed.
10808 * io/chdir.c: File removed.
10809 * io/access.c: File removed.
10810 * io/chown.c: File removed.
10811 * time/tzset.c: File removed.
10812 * time/timelocal.c: File removed.
10813 * time/syms-time.c: File removed.
10814 * time/settod.c: File removed.
10815 * time/setitmr.c: File removed.
10816 * time/gettod.c: File removed.
10817 * time/getitmr.c: File removed.
10818 * time/adjtime.c: File removed.
10819 * termios/tcgetattr.c: File removed.
10820 * string/stpncpy.c: File removed.
10821 * string/rindex.c: File removed.
10822 * string/memccpy.c: File removed.
10823 * string/index.c: File removed.
10824 * string/bcmp.c: File removed.
10825 * stdlib/srand.c: File removed.
10826 * stdlib/random.c: File removed.
10827 * stdio/vsscanf.c: File removed.
10828 * stdio/vfscanf.c: File removed.
10829 * stdio/syms-stdio.c: File removed.
10830 * stdio/remove.c: File removed.
10831 * stdio/getline.c: File removed.
10832 * stdio/getdelim.c: File removed.
10833 * signal/ssignal.c: File removed.
10834 * signal/sigvec.c: File removed.
10835 * signal/sigsetmask.c: File removed.
10836 * signal/sigret.c: File removed.
10837 * signal/sigproc.c: File removed.
10838 * signal/sigpause.c: File removed.
10839 * signal/sigblock.c: File removed.
10840 * signal/sigaction.c: File removed.
10841 * signal/kill.c: File removed.
10842 * signal/gsignal.c: File removed.
10843 * setjmp/siglongjmp.c: File removed.
10844 * setjmp/_longjmp.c: File removed.
10845 * resource/getrusage.c: File removed.
10846 * posix/waitpid.c: File removed.
10847 * posix/wait4.c: File removed.
10848 * posix/wait3.c: File removed.
10849 * posix/wait.c: File removed.
10850 * posix/times.c: File removed.
10851 * posix/sysconf.c: File removed.
10852 * posix/setuid.c: File removed.
10853 * posix/setsid.c: File removed.
10854 * posix/setpgrp.c: File removed.
10855 * posix/setpgid.c: File removed.
10856 * posix/setgid.c: File removed.
10857 * posix/pathconf.c: File removed.
10858 * posix/getuid.c: File removed.
10859 * posix/getppid.c: File removed.
10860 * posix/getpid.c: File removed.
10861 * posix/getgrps.c: File removed.
10862 * posix/getgid.c: File removed.
10863 * posix/geteuid.c: File removed.
10864 * posix/getegid.c: File removed.
10865 * posix/fpathcon.c: File removed.
10866 * posix/fork.c: File removed.
10867 * posix/execve.c: File removed.
10868 * posix/environ.c: File removed.
10869 * misc/utimes.c: File removed.
10870 * misc/setreuid.c: File removed.
10871 * misc/setregid.c: File removed.
10872 * misc/select.c: File removed.
10873 * misc/sbrk.c: File removed.
10874 * misc/mknod.c: File removed.
10875 * misc/ioctl.c: File removed.
10876 * misc/getpgsz.c: File removed.
10877 * misc/gethstnm.c: File removed.
10878 * misc/getdtsz.c: File removed.
10879 * misc/data_start.c: File removed.
10880 * misc/brk.c: File removed.
10881 * math/scalb.c: File removed.
10882 * math/rint.c: File removed.
10883 * math/logb.c: File removed.
10884 * math/isnan.c: File removed.
10885 * math/isinf.c: File removed.
10886 * math/infnan.c: File removed.
10887 * math/finite.c: File removed.
10888 * math/expm1.c: File removed.
10889 * math/drem.c: File removed.
10890 * math/copysign.c: File removed.
10891 * math/__scalb.c: File removed.
10892 * dirent/getdents.c: File removed.
10894 Fri Jan 20 16:11:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10896 * sysdeps/generic/morecore.c (__default_morecore): Use
10897 __malloc_ptrdiff_t; don't cast arg to int.
10899 * resolv/getnetnamadr.c: Include "conf/portability.h".
10901 Thu Jan 19 02:20:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10903 * stdlib/strtol.c: Include errno.h.
10904 [QUAD] (ULONG_MAX): Define to a static variable initialized to
10905 ULONG_LONG_MAX. This is to work around a GCC bug in using the
10906 constant in arithmetic.
10908 * posix/unistd.h (daemon): Declare it.
10910 * malloc/mcheck-init.c: Remove GNU ld hacks.
10911 (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck.
10912 * malloc/malloc.c (__malloc_initialize_hook): New hook variable.
10913 (initialize): Call the hook if set.
10914 * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes.
10915 (__malloc_initialize_hook): Declare new hook variable.
10917 Wed Jan 18 01:43:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10919 * hurd/hurdsig.c: Prepend `msg_' to server RPC names.
10920 * hurd/hurdpid.c: Likewise.
10921 * hurd/hurdauth.c: Likewise.
10923 Tue Jan 17 03:16:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10925 * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed
10926 if any are successful.
10928 * hurd/hurdmsg.c: Prepend `msg_' to all RPC names.
10929 (_S_msg_get_exec_flags, _S_msg_set_exec_flags,
10930 _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New
10932 (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed.
10934 * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post.
10935 * hurd/hurd-raise.c: Likewise.
10936 * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names.
10938 * sysdeps/mach/hurd/ptrace.c: New file.
10940 * sysdeps/mach/hurd/__select.c: Revamped to use new io_select
10941 interface, which has normal EINTR semantics. Instead of waiting
10942 for io_select_done notification messages, send io_select messages
10943 with short reply timeout and then wait for io_select_reply
10946 * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags &
10947 EXEC_INHERITED) to file_exec.
10949 * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero,
10950 use sig_post_untraced_reply. All callers changed.
10951 (abort_thread, abort_rpcs): Take same new arg and pass it through.
10952 All callers changed.
10953 (_hurd_internal_post_signal): Take new arg UNTRACED.
10954 If zero and process is traced, stop with SIGNO as stop signal. If
10955 nonzero, resume process before delivering signal (unless
10956 ACT==stop). Expand local fn sigwakeup into block at end taken iff
10958 (signal_allowed): New function, broken out of _S_sig_post.
10959 (_S_sig_post): Call it. Pass UNTRACED arg of false to
10960 _hurd_internal_post_signal.
10961 (_S_sig_post_untraced): New function. Just like _S_sig_post, but
10962 pass true for UNTRACED.
10963 * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg
10965 * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg
10966 to _hurd_internal_post_signal (value zero).
10968 Mon Jan 16 16:40:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10970 * hurd/hurdinit.c (_hurd_exec_flags): New variable.
10971 (_hurd_init): Initialize it from FLAGS arg.
10972 (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags,
10973 raise a SIGTRAP signal (with a sigcode of zero).
10974 * hurd/hurd.h (_hurd_exec_flags): Declare it.
10978 Mon Jan 16 16:16:55 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
10980 * malloc/malloc.c (malloc): Fix 1-off in previous change.
10982 Mon Jan 16 15:49:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10984 * posix/glob/Makefile.in: Remove config.h and config.log.
10986 Sun Jan 15 06:56:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10988 * posix/glob/configure.in: Add AC_CONST check.
10990 * conf/portability.h: #undef sun.
10991 * resolv/res_query.c: Updated from BIND-4.9.3-BETA17.
10992 * resolv/getnetnamadr.c: Likewise.
10994 * socket/Makefile (headers): Add sockaddrcom.h.
10995 * inet/netinet/in.h: Include <sockaddrcom.h>.
10996 (struct sockaddr_in): Use the __SOCKADDR_COMMON macro.
10997 * socket/sys/un.h (struct sockaddr_in): Likewise.
10998 * socket/sys/socket.h (struct sockaddr): Likewise.
10999 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file.
11000 * sysdeps/generic/sockaddrcom.h: New file.
11002 * sysdeps/unix/sysv/sysv4/ftruncate.c: New file.
11003 * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP,
11004 F_FREESP): New macros.
11005 * sysdeps/posix/truncate.c: New file.
11007 * malloc/malloc.c (malloc): Fix typos in RMS's change.
11009 * malloc/Makefile (dist-routines): Add malloc-find.
11010 * malloc/malloc.h (malloc_find_object_address): Declare it.
11011 * malloc/malloc-find.c: New file.
11013 * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la
11015 (malloc_info): Use that type for member `busy.info.size'.
11017 * stdlib/strtol.c: Change uses of `long' keyword throughout to use
11019 [! QUAD] (LONG): Define as long.
11020 [QUAD] (LONG): Define as long long.
11021 [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long
11023 [QUAD] (strtoul, strtol): Define to strtouq, strtoq.
11024 * stdlib/Makefile (routines): Add strtoq and strtouq.
11025 * stdlib/strtoq.c, stdlib/strtouq.c: New files.
11026 * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq):
11029 * stdio/vfprintf.c: If there was a precision specified, ignore the
11030 0 flag and always pad with spaces.
11032 * stdio/vfprintf.c: Don't use strchr to skip text until next %.
11033 Use a loop and also stop on first !isascii char.
11035 Wed Jan 11 00:07:10 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
11037 * malloc/malloc.h (malloc_info): Change usage of .busy.info.size.
11039 * malloc/malloc.c (malloc): For a multi-block object, store a
11040 negative number into the busy.info.size of all but the first block.
11042 Tue Jan 10 13:45:20 1995 Brendan Kehoe <brendan@zen.org>
11044 * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2
11045 instead of t0, t1, and t2.
11047 Tue Jan 10 05:53:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11049 * malloc/memalign.c (__memalign_hook): New variable.
11050 (memalign): Call it if set.
11051 * malloc/malloc.h (__memalign_hook): Declare new variable.
11053 Wed Dec 28 03:27:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11055 * conf/portability.h: Include string.h and stdlib.h.
11056 * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros.
11057 * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c,
11058 resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c,
11059 resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c,
11060 resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14.
11062 * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace
11063 all uses of `extern __inline' with `__m81_inline'.
11065 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl.
11066 * sysdeps/unix/__fork.S: Swap args in subl.
11068 * posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for
11071 Tue Dec 20 13:33:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
11073 * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead
11075 * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise.
11076 * mach/spin-solid.c (__spin_lock_solid): Likewise.
11078 Thu Dec 15 12:01:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11080 * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer
11082 (__ivaliduser): Use getline instead of fgets with fixed-size buffer.
11084 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet.
11086 Wed Dec 14 18:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11088 * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args
11089 in `bis' insn; immediate must be second.
11091 * sysdeps/unix/__fork.S: Use subl instead of decl.
11092 * sysdeps/unix/i386/__fork.S: New file.
11094 * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
11095 Remove A macro; just use `asm volatile' with proper quotes in each
11097 * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around
11098 jmp target register.
11100 * time/africa, time/asia, time/australasia, time/emkdir.c,
11101 time/europe, time/ialloc.c, time/northamerica, time/private.h,
11102 time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code
11103 and data from ADO 94h distribution.
11105 * sysdeps/sparc/setjmp.S: Use sethi and or to put address of
11106 __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete
11107 absolute pointer. Put second store in jmp delay slot.
11109 Tue Dec 13 15:47:52 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11111 * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of
11112 __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete
11114 * sysdeps/sparc/bsd-setjmp.S: Likewise.
11116 * configure.in: Use ; before } in { ... } exprs.
11120 See ChangeLog.4 for earlier changes.