summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386
AgeCommit message (Collapse)Author
1996-07-01Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960702Roland McGrath
* inet/Makefile (routines): Change getnetbypt to getnetbyad. Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * nss/Makefile (databases): Change host to hosts. * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. * string/string.h (strndupa): Pass missing arg to strnlen. * inet/getnetbypt_r.c: Renamed to ... * inet/getnetbyad_r.c: this; fixed function name. * inet/getnetbypt.c: Renamed to ... * inet/getnetbyad.c: this; fixed function name. Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not struct passwd. Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com> * resolv/res_hconf.c (strndup): Remove function. * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref using ElfW() instead of Elf32_*. * sysdeps/unix/sysv/linux/alpha/init-first.h, sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent init-first.h to make abstract machine dependent parts of initialization. * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall error handling. It's safer that way. * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. Fix by Richard Henderson. * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix typo/extraneous whitespace. * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test determine what integer sizes we're dealing with. * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal check for signal zero, repair logical sense of test by parenthesizing correctly. Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com> * configure.in (config_machine): Make ELF the default even for Linux/Alpha unless a configuration of the form *-*-linux*ecoff is specified. * nss/nss_files/files-hosts.c (ENTDATA): Define it. * nss/nss_files/files-parse.c (struct parser_data): Define entdata member only #ifdef ENTDATA. (ENTDATA_DECL): New macro. (LINE_PARSER): Use it for entdata decl. (parse_list): Find the space for LIST from DATA->linebuffer instead of from the input LINE, which might not be writable buffer space. (LINE_PARSER): Use `parser_stclass' in place of `static inline'. [ENTDATA] (parser_stclass): #define to `static inline'. [!ENDATA] (parser_stclass): #define to empty. [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the function is exported to -lnss_files users. * string/strndup.c: Add missing arg. * string/strndup.c (strndup): Always terminate the string.
1996-07-01Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* nss/Makefile (databases): Change host to hosts. * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
1996-06-16* hurd/hurdinit.c (map0): Remove [!PIC] conditional.cvs/libc-960616Roland McGrath
* shlib-versions (*-*-*): Add libutil=1. * rpm/Makefile (install-lib): Add libc.a et al. (install-others): Only add libc.so if $(build-shared) is yes. * math/Makefile (install-lib): New variable, list libieee.a. (non-lib.a): Likewise. (extra-objs): Likewise, and ieee-math.o. ($(objpfx)libieee.a): New target, link to ieee-math.o. * math/ieee-math.c: New file. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw and libieee.a stuff. * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed. * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed.
1996-06-16* hurd/Makefile (routines): Add get-host, set-host.Roland McGrath
(distribute): Add hurdhost.h. * hurd/hurdhost.h: New file. * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config. * sysdeps/mach/hurd/gethostid.c: Likewise. * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config. * sysdeps/mach/hurd/sethostid.c: Likewise. * hurd/get-host.c: New file. * hurd/set-host.c: New file. * math/Makefile (headers): Add fpu_control.h. (aux): New variable, list fpu_control and setfpucw. * sysdeps/generic/fpu_control.c: New file. * sysdeps/stub/fpu_control.h: New file. * sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ... * sysdeps/m68k/fpu_control.h: here. * sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ... * sysdeps/i386/fpu_control.h: here. * sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ... * sysdeps/alpha/fpu/fpu_control.h: here. Fixed copyright. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove setfpucw, fpu_control. * sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed. * sysdeps/unix/sysv/linux/setfpucw.c: Moved to ... * sysdeps/generic/setfpucw.c: here. (__fpu_control): Variable removed. (__setfpucw): Use SET even if zero.
1996-06-07Fri Jun 7 16:48:13 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/linux/i386/Dist: New file, list sys/perm.h and sys/vm86.h. Removed old math code no longer used since the fdlibm integration. * sysdeps/stub/acos.c: File removed. * sysdeps/stub/asin.c: File removed. * sysdeps/stub/atan2.c: File removed. * sysdeps/stub/cosh.c: File removed. * sysdeps/stub/exp.c: File removed. * sysdeps/stub/fmod.c: File removed. * sysdeps/stub/frexp.c: File removed. * sysdeps/stub/log.c: File removed. * sysdeps/stub/log10.c: File removed. * sysdeps/stub/sinh.c: File removed. * sysdeps/stub/tan.c: File removed. * sysdeps/stub/tanh.c: File removed. * sysdeps/generic/acos.c: File removed. * sysdeps/generic/acosh.c: File removed. * sysdeps/generic/asin.c: File removed. * sysdeps/generic/asinh.c: File removed. * sysdeps/generic/atan.c: File removed. * sysdeps/generic/atan2.c: File removed. * sysdeps/generic/atanh.c: File removed. * sysdeps/generic/cabs.c: File removed. * sysdeps/generic/ceil.c: File removed. * sysdeps/generic/copysign.c: File removed. * sysdeps/generic/cosh.c: File removed. * sysdeps/generic/exp.c: File removed. * sysdeps/generic/expm1.c: File removed. * sysdeps/generic/fabs.c: File removed. * sysdeps/generic/floor.c: File removed. * sysdeps/generic/fmod.c: File removed. * sysdeps/generic/frexp.c: File removed. * sysdeps/generic/hypot.c: File removed. * sysdeps/generic/infnan.c: File removed. * sysdeps/generic/isnan.c: File removed. * sysdeps/generic/ldexp.c: File removed. * sysdeps/generic/log.c: File removed. * sysdeps/generic/log10.c: File removed. * sysdeps/generic/log1p.c: File removed. * sysdeps/generic/modf.c: File removed. * sysdeps/generic/pow.c: File removed. * sysdeps/generic/rint.c: File removed. * sysdeps/generic/sinh.c: File removed. * sysdeps/generic/tan.c: File removed. * sysdeps/generic/tanh.c: File removed. * sysdeps/ieee754/cabs.c: File removed. * sysdeps/ieee754/copysign.c: File removed. * sysdeps/ieee754/frexp.c: File removed. * sysdeps/ieee754/hypot.c: File removed. * sysdeps/ieee754/infnan.c: File removed. * sysdeps/ieee754/ldexp.c: File removed. * sysdeps/ieee754/log10.c: File removed. * posix/Makefile (headers): Add schedbits.h. * math/Makefile (elided-routines): Add long double routines. Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/Dist: Add sys/sysinfo.h, sys/mount.h, sys/kdaemon.h, sys/io.h, sys/mount.h, sysctl.c. * gmon/Makefile (distribute): Add profil-counter.h. * sysdeps/unix/sysv/linux/alpha/Dist: New file. * sysdeps/unix/Dist: Add s-proto.S. * sysdeps/unix/common/mk-local_lim.c: Obsolete file removed. * Make-dist (+sysdep-tsrcs): Get all syscalls.list files too. * csu/Makefile (distribute): Add start.c. * elf/Makefile (distribute): Add dl-machine.h. * sysdeps/alpha/Dist: Add _mcount.S. * sysdeps/alpha/Makefile (sysdep_routines): Append instead of resetting; don't add bb_init_func. * string/Makefile (routines): Add strerror_r. * string/string.h (strerror_r): Use int for BUFLEN arg. * Makefile (distribute): Add shlib-versions. * po/Makefile (distribute): Add SYS_libc.pot. * misc/Makefile (routines): Add lsearch. * manual/lang.texi (Consistency Checking): Merge in assert_perror defn and other changes inadvertently made to the obsolete assert.texi. * manual/assert.texi: File removed. * mach/mach_syscalls.c: Obsolete file removed. * mach/mach_syscalls.h: Likewise. * mach/mach_traps.S: Likewise. * mach/msg_destroy.c: Likewise. * mach/vm_page_size.c: Likewise. * locale/Makefile (distribute): Add weight.h, charset.h. * Makefile (distribute): Add version.h. * hurd/Makefile (headers): Add hurd/ioctl.h. (distribute): Add intr-rpc.d, intr-rpc.h, faultexc.defs. * csu/Makefile (distribute): Add gmon-start.c. * Makefile (distribute): Add config.h.in. sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files.
1996-06-07Fri Jun 7 1996 05:29:32 Ulrich Drepper <drepper@cygnus.com>cvs/libc-960607Roland McGrath
* misc/lsearch.c: New file. Implementation of lfind and lsearch functions. * misc/search.h: Add prototype for functions from tsearch family with __ prefix. Correct prototype for lsearch: BASE parameter must not be const. * misc/tsearch.c: prepend all global function names with __ and make normal names weak aliases. Fri Jun 7 00:15:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * Make-dist (sysdep_dirs): Skip CVS dirs.
1996-06-05* Makerules (distinfo-vars): Add sysdep_routines.Roland McGrath
* mach/Machrules (include-%.defs): New canned sequence. Change all uses of `#include <$*.defs>' in cmds to use it. * mach/Makefile (mach_interface.defs): New variable, set to mach.defs. * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being null in all cases but R_386_COPY. (elf_machine_rel): * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated. * sysdeps/unix/bsd/ultrix4/Dist: Removed. * sysdeps/unix/sysv/sysv4/Dist: Updated. * sysdeps/unix/sysv/sco3.2.4/Dist: Removed. * sysdeps/unix/sysv/irix4/Dist: Updated. * sysdeps/unix/sysv/linux/i386/Dist: Removed. * sysdeps/unix/sysv/Dist: Updated. * sysdeps/unix/bsd/sun/sunos4/Dist: Removed. * sysdeps/unix/bsd/sony/newsos4/Dist: Removed. * sysdeps/gnu/Dist: New file. * sysdeps/alpha/Dist: Updated. * sysdeps/mach/hurd/Dist: Updated. * Make-dist [subdir-dirs]: Set a vpath for %.c. * Make-dist (README): Fix typo in cvs cmd.
1996-05-28Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* Makerules (sed-remove-objpfx): Avoid extra space in regexp due to continuation line. * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in setting %ecx to 2nd syscall arg: we have pushed nothing, so function args are found at 4(%esp), not 8(%esp).
1996-05-27* sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so itRoland McGrath
can be aliased.
1996-05-23Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak alias for __curbrk.
1996-05-22Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>Roland McGrath
* stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these macros if they are not available. (WEAKNAME): New macro to declare argument as weak. Define function with __ prefix and add normal name as weak alias. * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines these macros if not already available based on R_OK, W_OK, and X_OK. Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * misc/sys/syslog.h (__need___va_list): Define this instead of __need_va_list before including <stdarg.h>. * Makerules (o-iterator): Use $(object-suffixes-left) instead of $(object-suffixes) to produce repetitions; this is used for other lists than just that one. [versioned]: Use $(o-iterator) properly. * sysdeps/unix/sysv/linux/Implies: Include `gnu'. * sysdeps/mach/hurd/Implies: Likewise. Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com> * login/Makefile: New file. This directory contains functions for user administration. * Makefile (subdirs): Add login. * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h. (extra-libs, libutil-routines): Ditto. * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, misc/utmp.h: Moved to misc/. * login/login.c, login/login_tty.c, login/logout.c, login/logwtmp.c, login/utmp.h: Moved to here from misc/. * login/utmp.h: Split file. Definitions of data structures and constants are now in the system dependent utmpbits.h file. * login/setutent_r.c, login/setutent.c, login/endutent_r.c, login/endutent.c, login/getutent_r.c, login/getutent.c, login/getutid_r.c, login/getutid.c, login/getutline_r.c, login/getutline.c, login/pututline_r.c, login/pututline.c: New files. Routines to handle utmp-style files. * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux specific definitions of utmp data structures and constants. * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h. * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of definitions of utmp data structures and constants. Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com> * locale/C-monetary.c: Default value for mon_decimal_point should be '.'. * stdio-common/printf.h: Remove Linux libc compatibility stuff. Add `extra' flag. Currently used in __printf_fp. * stdio-common/printf_fp.c (__guess_grouping): Renamed from `guess_grouping' and extend visibility to extern. This function is now used in `strfmon'. (__printf_fp): Recognize new bit flag in info struct. This triggers to use the grouping information and decimal point from the LC_MONETARY category instead of the LC_NUMERIC category. * stdio-common/vfprintf.c (process_arg): Correct major bug. In `complicated' loop we must not use the varargs because the args are already available in the ARGS_VALUE array. * stdlib/Makefile (headers): Add monetary.h. (routines): Add strfmon. * stdlib/monetary.h: New file. Header for strfmon function. * stdlib/strfmon.c: New file. Implement strfmon function to print monetary amounts according to current locale's rules. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is now (>= Linux-1.3.100) called <asm/vm86.h>.
1996-05-14Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960515Roland McGrath
* libc-symbols.h (lint): Macro removed. The sunrpc code does some really stupid things #ifdef lint. * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix struct member name: sc_eip -> eip.
1996-05-13* sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.Roland McGrath
1996-05-08Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* string/argz-extract.c: Remove const from decl. * string/argz.h: Here too. * Makeconfig (version.mk): Fix regexp in sed cmd. Depend on $(..)Makeconfig. * GMP code updated from gmp-2.0 release. * stdlib/Makefile (mpn-routines): Removed add_1, added inlines. * sysdeps/generic/add_1.c: File removed. * stdlib/strtod.c: mp_limb is now mp_limb_t. * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise. * stdio-common/_itoa.c: Likewise. * stdio-common/printf_fp.c: Likewise. Don't include ansidecl.h. * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat. * shlib-versions: New file. * Makerules (soversions.mk): New target, include file generated from shlib-versions. Moved shared library rules before installation rules. Rewrote shared library installation rules for versioned libraries. * math/Makefile (libm.so-version): Variable removed. * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail. * hurd/report-wait.c (_S_msg_describe_ports): New function. * configure.in: Add AC_PROG_LN_S check. * config.make.in (LN_S): New variable. Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com> * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does not know about weak aliases now and optimizes necessary `if' statement away. * posix/unistd.h: Add swapoff prototype. * sysdeps/generic/confname.h: Add even more POSIX.4 symbols. * sysdeps/posix/fpathconf.c (__fpathconf): Get information for _PC_PATH_MAX from fstatfs function if available. * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and _SC_TIMER_MAX. * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto. * sysdeps/stub/swapoff.c: New file. Stub version for swapoff function. * sysdeps/unix/syscalls.list: Add swapoff. * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h. * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc] (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid, sysinfo, and uselib. (headers): Add sys/sysinfo.h. * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning. * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc] (sysdep_routines): Add ioperm, iopl, and vm86. (headers): Add sys/perm.h and sys/vm86.h. * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains prototypes for iopl and ioperm. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains prototype for vm86. * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add vm86 system call. * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains prototypes for acct function. * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header file with prototypes. * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains prototype for sysinfo function. * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl, llseek, setfsgid, setfsuid, sysinfo, and uselib. * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating posix/sysconf.c now only handle cases different to that implementation. Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu> * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput (all references changed). Now exported. * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h). (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput, line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data instead of struct data. (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various occurences of `wrap' and `wrapmargin' to `wmargin'. (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin, line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin, line_wrap_set_wmargin, line_wrap_point): New functions. * stdio/linewrap.h: New file. * stdio/Makefile (headers): Add linewrap.h. Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/i386/Makefile: File removed. * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls. * sysdeps/unix/sysv/linux/schedbits.h: New file. Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu> * stdio/linewrap.c (struct data): Make margin fields not-pointers. (lwoutput): Adjust uses acordingly. * sysdeps/mach/hurd/fdatasync.c: New file. * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync. * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link. * sysdeps/mach/hurd/symlink.c: Likewise. * sysdeps/mach/hurd/link.c: Likewise. * sysdeps/mach/hurd/bind.c: Likewise. * hurd/hurdsig.c (write_corefile): Likewise. * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server. * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int. * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to proc_mark_exit. * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise. * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait. * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename. * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct hurd_signal_detail. * hurd/catch-exc.c (_S_catch_exception_raise): Likewise. * hurd/hurd-raise.c (_hurd_raise_signal): Likewise. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Likewise. * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise. * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype. * hurd/hurdsig.c (write_corefile): Take const struct hurd_signal_detail * arg. Pass all details to crash_dump_task. (_hurd_internal_post_signal): Pass DETAIL to write_corefile. (_hurd_internal_post_signal: suspend): Pass code and error to proc_mark_stop. * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to proc_getprocinfo by reference.
1996-04-28Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/linux/i386/Makefile: New file. Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com> * inet/netinet/in.h, socket/sys/socket.h: Move to sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h. * netinet/in.h, sys/socket.h: Remove file. * misc/Makefile (routines): Add fdatasync. * posix/Makefile (headers): Add sched.h. (routines): Add nanosleep, sched_setp, sched_getp, sched_sets, sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi. * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS, _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO, _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE, _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING, _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS. * posix/sched.h: New file. Header for POSIX scheduling interface. * posix/unistd.h: Describe options from POSIX.4. Add declaration of fdatasync. * sysdeps/generic/confname.h: Add definition for _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS. * sysdeps/generic/fdatasync.c: New file. Default implementation simply uses fsync. * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h. * sysdeps/generic/schedbits.h: New file. System dependent defintion for POSIX.4 scheduling interface. * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h. * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c, sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c, sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c, sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c, sysdeps/stub/sched_yield.c: New file: Stub implementation for systems missing these POSIX.4 system calls. * sysdeps/unix/sysv/linux/gnu/types.h, sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for data type definitions. * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux specific version. * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX options applicable for Linux. * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for fdatasync, nanosleep, sched_setparam, sched_getparam, sched_setscheduler, sched_getscheduler, sched_yield, sched_get_priority_max, sched_get_priority_min, and sched_rr_get_interval. * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4 options. * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers. * time/sys/time.h: Remove definition of `struct timespec'. * time/time.h (struct timespec): Move definition to here. variable, LUCKY, to use instead of setting D to -1 (which fouls
1996-03-12Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath
* sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct. * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well. * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with `restore' until the target frame is hit. Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/sigsuspend.c: New file. * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add s_sigsuspend. Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the left side of sed substitutions. Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size is not available anymore. Do it ourselves. * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW): Correct GCC `asm' syntax. * stdio-common/Makefile (tests): Add tst-ungetc. * stdio-common/tst-ungetc.c: New test from drepper. * stdio-common/tstscanf.c (main): New %[ test case from drepper. * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn; somehow this was missed, though the weak alias is already there.
1996-03-12Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change default to double precision, all interrupts masked; fdlibm requires.
1996-03-09Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>cvs/libc-960311cvs/libc-960310Roland McGrath
* sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed. Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
1996-02-22Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>cvs/libc-960226cvs/libc-960225cvs/libc-960224cvs/libc-960223Roland McGrath
* Rules (others): Depend on $(extra-objs), $(install-lib), $(install-bin), $(install-sbin), in object directory. * Makeconfig (link-libc): Don't pass -rpath option with default path, since ld.so should use the same default. * Makerules (build-shlib): Likewise. * Makerules (make-target-directory): Use mkinstalldirs. * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to redefine ENTRY et al. * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY): Macros removed. The code in unix/i386/sysdep.h should now suffice. * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for [HAVE_ELF] and not. (ENTRY): Use it in .align directive. (CALL_MCOUNT): New macro, empty unless [PROF]. (ENTRY): Do CALL_MCOUNT just after the label. * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly code can call mcount. Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO; translation markings are now integrated in his distribution. * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast. * po: New directory where `LANG.po' files for message translations will reside. * po/SYS_libc.pot: New file, template of message strings as in source. * MakeTAGS: New rules to build po/SYS_libc.pot automatically from the source using xgettext. * Makerules ($(..)po/%.pot): New rule. * manual/Makefile (../po/manual.pot): New target, make it empty. * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c. * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c. * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c. * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c. * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
1996-02-19Sun Feb 18 15:08:10 1996 Andreas Schwab ↵Roland McGrath
<schwab@issan.informatik.uni-dortmund.de> * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a sec. Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elf/Makefile, time/Makefile: Make `all' the default target. Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> * misc/sys/ptrace.h: Moved to ... * sysdeps/generic/sys/ptrace.h: ... here. * sys/ptrace.h: File removed. Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h. * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss so that the symbol alias works. * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected. * sysdeps/unix/sysv/linux/resourcebits.h: New file. * sysdeps/unix/sysv/linux/sys/ptrace.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid, getppid and reboot. * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not use getdtablesize. Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com> * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c, sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c, sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions to `long' where necessary. Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET. * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET to correctly access MPN array depending on architecture.
1996-02-13i386/gnu/types.h moved to top-level linux dir.Roland McGrath
* sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
1996-02-13Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=math] (sysdep_routines): Append setfpucw. (extra-objs): Append ieee-fpucw.o. (install-lib): Append libieee.a. (libieee.a): New target. * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file. * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): New macros. (fpu_control_t): New typedef. (__setfpucw): Use fpu_control_t for argument type. * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386. * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math] (sysdep_routines): Append setfpucw. (extra-objs): Append ieee-fpucw.o. (install-lib): Append libieee.a. (libieee.a): New target. * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file. * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): New macros. (fpu_control_t): New typedef. (__setfpucw): Use fpu_control_t for argument type. * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386. * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
1996-02-13Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>cvs/libc-960213Roland McGrath
* sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall. * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed. Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall. * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
1996-01-29Thu Jan 25 21:10:39 1996 Andreas Schwab ↵Roland McGrath
<schwab@issan.informatik.uni-dortmund.de> * db/Makefile (subdir-dirs): Renamed from dbdirs. * Makerules (distinfo-vars): Add subdir-dirs. * MakeTAGS: Remove vpath directives. (all-dirs): Prepend $(subdir-dirs). (all-sources, all-headers): Use wildcard to find sources. Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * db/Makefile (subdir-dirs): Renamed from dbdirs. * Makerules (distinfo-vars): Add subdir-dirs. * MakeTAGS: Remove vpath directives. (all-dirs): Prepend $(subdir-dirs). (all-sources, all-headers): Use wildcard to find sources. Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New variables. * mach/msgserver.c: Declare DEMUX arg with prototype.
1996-01-19Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
Replaced all simple system call files *.S throughout sysdeps/unix with syscalls.list files to be processed by make-syscalls.sh. * sysdeps/unix/s-proto.S: New file. * sysdeps/unix/syscalls.list: New file. * sysdeps/unix/bsd/syscalls.list: New file. * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file. * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file. * sysdeps/unix/bsd/osf/syscalls.list: New file. * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file. * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file. * sysdeps/unix/bsd/sun/syscalls.list: New file. * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file. * sysdeps/unix/bsd/ultrix4/syscalls.list: New file. * sysdeps/unix/common/syscalls.list: New file. * sysdeps/unix/inet/syscalls.list: New file. * sysdeps/unix/mman/syscalls.list: New file. * sysdeps/unix/sysv/syscalls.list: New file. * sysdeps/unix/sysv/irix4/syscalls.list: New file. * sysdeps/unix/sysv/isc2.2/syscalls.list: New file. * sysdeps/unix/sysv/linux/syscalls.list: New file. * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file. * sysdeps/unix/acct.S: File removed. * sysdeps/unix/chdir.S: File removed. * sysdeps/unix/chmod.S: File removed. * sysdeps/unix/chown.S: File removed. * sysdeps/unix/chroot.S: File removed. * sysdeps/unix/close.S: File removed. * sysdeps/unix/configure: File removed. * sysdeps/unix/configure.in: File removed. * sysdeps/unix/dup.S: File removed. * sysdeps/unix/fcntl.S: File removed. * sysdeps/unix/fsync.S: File removed. * sysdeps/unix/getgid.S: File removed. * sysdeps/unix/getpid.S: File removed. * sysdeps/unix/getuid.S: File removed. * sysdeps/unix/ioctl.S: File removed. * sysdeps/unix/kill.S: File removed. * sysdeps/unix/link.S: File removed. * sysdeps/unix/lseek.S: File removed. * sysdeps/unix/open.S: File removed. * sysdeps/unix/ptrace.S: File removed. * sysdeps/unix/read.S: File removed. * sysdeps/unix/reboot.S: File removed. * sysdeps/unix/setgid.S: File removed. * sysdeps/unix/setuid.S: File removed. * sysdeps/unix/sync.S: File removed. * sysdeps/unix/umask.S: File removed. * sysdeps/unix/unlink.S: File removed. * sysdeps/unix/write.S: File removed. * sysdeps/unix/bsd/flock.S: File removed. * sysdeps/unix/bsd/getdtsz.S: File removed. * sysdeps/unix/bsd/getpagesize.S: File removed. * sysdeps/unix/bsd/killpg.S: File removed. * sysdeps/unix/bsd/profil.S: File removed. * sysdeps/unix/bsd/readv.S: File removed. * sysdeps/unix/bsd/settimeofday.S: File removed. * sysdeps/unix/bsd/sigblock.S: File removed. * sysdeps/unix/bsd/sigpause.S: File removed. * sysdeps/unix/bsd/sigsetmask.S: File removed. * sysdeps/unix/bsd/sigstack.S: File removed. * sysdeps/unix/bsd/sigvec.S: File removed. * sysdeps/unix/bsd/utimes.S: File removed. * sysdeps/unix/bsd/writev.S: File removed. * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed. * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed. * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed. * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed. * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed. * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed. * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed. * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed. * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed. * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed. * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed. * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed. * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed. * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed. * sysdeps/unix/bsd/osf/msync.S: File removed. * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed. * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed. * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed. * sysdeps/unix/bsd/sun/getdents.S: File removed. * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed. * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed. * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed. * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed. * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed. * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed. * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed. * sysdeps/unix/bsd/ultrix4/getdents.S: File removed. * sysdeps/unix/bsd/ultrix4/setsid.S: File removed. * sysdeps/unix/bsd/ultrix4/uname.S: File removed. * sysdeps/unix/common/access.S: File removed. * sysdeps/unix/common/adjtime.S: File removed. * sysdeps/unix/common/dup2.S: File removed. * sysdeps/unix/common/fchmod.S: File removed. * sysdeps/unix/common/fchown.S: File removed. * sysdeps/unix/common/ftruncate.S: File removed. * sysdeps/unix/common/getgroups.S: File removed. * sysdeps/unix/common/getitimer.S: File removed. * sysdeps/unix/common/getpgid.S: File removed. * sysdeps/unix/common/getpriority.S: File removed. * sysdeps/unix/common/getrlimit.S: File removed. * sysdeps/unix/common/getrusage.S: File removed. * sysdeps/unix/common/gettimeofday.S: File removed. * sysdeps/unix/common/mkdir.S: File removed. * sysdeps/unix/common/readlink.S: File removed. * sysdeps/unix/common/rename.S: File removed. * sysdeps/unix/common/rmdir.S: File removed. * sysdeps/unix/common/select.S: File removed. * sysdeps/unix/common/setgroups.S: File removed. * sysdeps/unix/common/setitimer.S: File removed. * sysdeps/unix/common/setpgid.S: File removed. * sysdeps/unix/common/setpriority.S: File removed. * sysdeps/unix/common/setregid.S: File removed. * sysdeps/unix/common/setreuid.S: File removed. * sysdeps/unix/common/setrlimit.S: File removed. * sysdeps/unix/common/swapon.S: File removed. * sysdeps/unix/common/symlink.S: File removed. * sysdeps/unix/common/truncate.S: File removed. * sysdeps/unix/common/vhangup.S: File removed. * sysdeps/unix/inet/accept.S: File removed. * sysdeps/unix/inet/bind.S: File removed. * sysdeps/unix/inet/connect.S: File removed. * sysdeps/unix/inet/gethostid.S: File removed. * sysdeps/unix/inet/gethostname.S: File removed. * sysdeps/unix/inet/getpeername.S: File removed. * sysdeps/unix/inet/getsockname.S: File removed. * sysdeps/unix/inet/getsockopt.S: File removed. * sysdeps/unix/inet/listen.S: File removed. * sysdeps/unix/inet/recv.S: File removed. * sysdeps/unix/inet/recvfrom.S: File removed. * sysdeps/unix/inet/recvmsg.S: File removed. * sysdeps/unix/inet/send.S: File removed. * sysdeps/unix/inet/sendmsg.S: File removed. * sysdeps/unix/inet/sendto.S: File removed. * sysdeps/unix/inet/sethostid.S: File removed. * sysdeps/unix/inet/sethostname.S: File removed. * sysdeps/unix/inet/setsockopt.S: File removed. * sysdeps/unix/inet/shutdown.S: File removed. * sysdeps/unix/inet/socket.S: File removed. * sysdeps/unix/inet/socketpair.S: File removed. * sysdeps/unix/mman/madvise.S: File removed. * sysdeps/unix/mman/mmap.S: File removed. * sysdeps/unix/mman/mprotect.S: File removed. * sysdeps/unix/mman/msync.S: File removed. * sysdeps/unix/mman/munmap.S: File removed. * sysdeps/unix/sysv/alarm.S: File removed. * sysdeps/unix/sysv/ftime.S: File removed. * sysdeps/unix/sysv/nice.S: File removed. * sysdeps/unix/sysv/pause.S: File removed. * sysdeps/unix/sysv/poll.S: File removed. * sysdeps/unix/sysv/s_getdents.S: File removed. * sysdeps/unix/sysv/signal.S: File removed. * sysdeps/unix/sysv/stime.S: File removed. * sysdeps/unix/sysv/time.S: File removed. * sysdeps/unix/sysv/times.S: File removed. * sysdeps/unix/sysv/ulimit.S: File removed. * sysdeps/unix/sysv/uname.S: File removed. * sysdeps/unix/sysv/utime.S: File removed. * sysdeps/unix/sysv/irix4/getpgid.S: File removed. * sysdeps/unix/sysv/irix4/msync.S: File removed. * sysdeps/unix/sysv/irix4/setpgid.S: File removed. * sysdeps/unix/sysv/irix4/signal.S: File removed. * sysdeps/unix/sysv/irix4/sysmp.S: File removed. * sysdeps/unix/sysv/irix4/syssgi.S: File removed. * sysdeps/unix/sysv/isc2.2/rename.S: File removed. * sysdeps/unix/sysv/linux/adjtimex.S: File removed. * sysdeps/unix/sysv/linux/fork.S: File removed. * sysdeps/unix/sysv/linux/getpgid.S: File removed. * sysdeps/unix/sysv/linux/getpgrp.S: File removed. * sysdeps/unix/sysv/linux/getsid.S: File removed. * sysdeps/unix/sysv/linux/gtty.S: File removed. * sysdeps/unix/sysv/linux/mlock.S: File removed. * sysdeps/unix/sysv/linux/mlockall.S: File removed. * sysdeps/unix/sysv/linux/mount.S: File removed. * sysdeps/unix/sysv/linux/munlock.S: File removed. * sysdeps/unix/sysv/linux/munlockall.S: File removed. * sysdeps/unix/sysv/linux/pipe.S: File removed. * sysdeps/unix/sysv/linux/s_ptrace.S: File removed. * sysdeps/unix/sysv/linux/setpgid.S: File removed. * sysdeps/unix/sysv/linux/setsid.S: File removed. * sysdeps/unix/sysv/linux/settimeofday.S: File removed. * sysdeps/unix/sysv/linux/sigpending.S: File removed. * sysdeps/unix/sysv/linux/stty.S: File removed. * sysdeps/unix/sysv/linux/umount.S: File removed. * sysdeps/unix/sysv/linux/wait4.S: File removed. * sysdeps/unix/sysv/linux/i386/ipc.S: File removed. * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed. * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed. * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed. * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed. * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed. * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed. * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed. Replaced all simple system call files *.S throughout sysdeps/unix with syscalls.list files to be processed by make-syscalls.sh. * sysdeps/unix/s-proto.S: New file. * sysdeps/unix/syscalls.list: New file. * sysdeps/unix/bsd/syscalls.list: New file. * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file. * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file. * sysdeps/unix/bsd/osf/syscalls.list: New file. * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file. * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file. * sysdeps/unix/bsd/sun/syscalls.list: New file. * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file. * sysdeps/unix/bsd/ultrix4/syscalls.list: New file. * sysdeps/unix/common/syscalls.list: New file. * sysdeps/unix/inet/syscalls.list: New file. * sysdeps/unix/mman/syscalls.list: New file. * sysdeps/unix/sysv/syscalls.list: New file. * sysdeps/unix/sysv/irix4/syscalls.list: New file. * sysdeps/unix/sysv/isc2.2/syscalls.list: New file. * sysdeps/unix/sysv/linux/syscalls.list: New file. * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file. * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file. * sysdeps/unix/acct.S: File removed. * sysdeps/unix/chdir.S: File removed. * sysdeps/unix/chmod.S: File removed. * sysdeps/unix/chown.S: File removed. * sysdeps/unix/chroot.S: File removed. * sysdeps/unix/close.S: File removed. * sysdeps/unix/configure: File removed. * sysdeps/unix/configure.in: File removed. * sysdeps/unix/dup.S: File removed. * sysdeps/unix/fcntl.S: File removed. * sysdeps/unix/fsync.S: File removed. * sysdeps/unix/getgid.S: File removed. * sysdeps/unix/getpid.S: File removed. * sysdeps/unix/getuid.S: File removed. * sysdeps/unix/ioctl.S: File removed. * sysdeps/unix/kill.S: File removed. * sysdeps/unix/link.S: File removed. * sysdeps/unix/lseek.S: File removed. * sysdeps/unix/open.S: File removed. * sysdeps/unix/ptrace.S: File removed. * sysdeps/unix/read.S: File removed. * sysdeps/unix/reboot.S: File removed. * sysdeps/unix/setgid.S: File removed. * sysdeps/unix/setuid.S: File removed. * sysdeps/unix/sync.S: File removed. * sysdeps/unix/umask.S: File removed. * sysdeps/unix/unlink.S: File removed. * sysdeps/unix/write.S: File removed. * sysdeps/unix/bsd/flock.S: File removed. * sysdeps/unix/bsd/getdtsz.S: File removed. * sysdeps/unix/bsd/getpagesize.S: File removed. * sysdeps/unix/bsd/killpg.S: File removed. * sysdeps/unix/bsd/profil.S: File removed. * sysdeps/unix/bsd/readv.S: File removed. * sysdeps/unix/bsd/settimeofday.S: File removed. * sysdeps/unix/bsd/sigblock.S: File removed. * sysdeps/unix/bsd/sigpause.S: File removed. * sysdeps/unix/bsd/sigsetmask.S: File removed. * sysdeps/unix/bsd/sigstack.S: File removed. * sysdeps/unix/bsd/sigvec.S: File removed. * sysdeps/unix/bsd/utimes.S: File removed. * sysdeps/unix/bsd/writev.S: File removed. * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed. * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed. * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed. * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed. * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed. * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed. * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed. * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed. * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed. * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed. * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed. * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed. * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed. * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed. * sysdeps/unix/bsd/osf/msync.S: File removed. * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed. * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed. * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed. * sysdeps/unix/bsd/sun/getdents.S: File removed. * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed. * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed. * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed. * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed. * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed. * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed. * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed. * sysdeps/unix/bsd/ultrix4/getdents.S: File removed. * sysdeps/unix/bsd/ultrix4/setsid.S: File removed. * sysdeps/unix/bsd/ultrix4/uname.S: File removed. * sysdeps/unix/common/access.S: File removed. * sysdeps/unix/common/adjtime.S: File removed. * sysdeps/unix/common/dup2.S: File removed. * sysdeps/unix/common/fchmod.S: File removed. * sysdeps/unix/common/fchown.S: File removed. * sysdeps/unix/common/ftruncate.S: File removed. * sysdeps/unix/common/getgroups.S: File removed. * sysdeps/unix/common/getitimer.S: File removed. * sysdeps/unix/common/getpgid.S: File removed. * sysdeps/unix/common/getpriority.S: File removed. * sysdeps/unix/common/getrlimit.S: File removed. * sysdeps/unix/common/getrusage.S: File removed. * sysdeps/unix/common/gettimeofday.S: File removed. * sysdeps/unix/common/mkdir.S: File removed. * sysdeps/unix/common/readlink.S: File removed. * sysdeps/unix/common/rename.S: File removed. * sysdeps/unix/common/rmdir.S: File removed. * sysdeps/unix/common/select.S: File removed. * sysdeps/unix/common/setgroups.S: File removed. * sysdeps/unix/common/setitimer.S: File removed. * sysdeps/unix/common/setpgid.S: File removed. * sysdeps/unix/common/setpriority.S: File removed. * sysdeps/unix/common/setregid.S: File removed. * sysdeps/unix/common/setreuid.S: File removed. * sysdeps/unix/common/setrlimit.S: File removed. * sysdeps/unix/common/swapon.S: File removed. * sysdeps/unix/common/symlink.S: File removed. * sysdeps/unix/common/truncate.S: File removed. * sysdeps/unix/common/vhangup.S: File removed. * sysdeps/unix/inet/accept.S: File removed. * sysdeps/unix/inet/bind.S: File removed. * sysdeps/unix/inet/connect.S: File removed. * sysdeps/unix/inet/gethostid.S: File removed. * sysdeps/unix/inet/gethostname.S: File removed. * sysdeps/unix/inet/getpeername.S: File removed. * sysdeps/unix/inet/getsockname.S: File removed. * sysdeps/unix/inet/getsockopt.S: File removed. * sysdeps/unix/inet/listen.S: File removed. * sysdeps/unix/inet/recv.S: File removed. * sysdeps/unix/inet/recvfrom.S: File removed. * sysdeps/unix/inet/recvmsg.S: File removed. * sysdeps/unix/inet/send.S: File removed. * sysdeps/unix/inet/sendmsg.S: File removed. * sysdeps/unix/inet/sendto.S: File removed. * sysdeps/unix/inet/sethostid.S: File removed. * sysdeps/unix/inet/sethostname.S: File removed. * sysdeps/unix/inet/setsockopt.S: File removed. * sysdeps/unix/inet/shutdown.S: File removed. * sysdeps/unix/inet/socket.S: File removed. * sysdeps/unix/inet/socketpair.S: File removed. * sysdeps/unix/mman/madvise.S: File removed. * sysdeps/unix/mman/mmap.S: File removed. * sysdeps/unix/mman/mprotect.S: File removed. * sysdeps/unix/mman/msync.S: File removed. * sysdeps/unix/mman/munmap.S: File removed. * sysdeps/unix/sysv/alarm.S: File removed. * sysdeps/unix/sysv/ftime.S: File removed. * sysdeps/unix/sysv/nice.S: File removed. * sysdeps/unix/sysv/pause.S: File removed. * sysdeps/unix/sysv/poll.S: File removed. * sysdeps/unix/sysv/s_getdents.S: File removed. * sysdeps/unix/sysv/signal.S: File removed. * sysdeps/unix/sysv/stime.S: File removed. * sysdeps/unix/sysv/time.S: File removed. * sysdeps/unix/sysv/times.S: File removed. * sysdeps/unix/sysv/ulimit.S: File removed. * sysdeps/unix/sysv/uname.S: File removed. * sysdeps/unix/sysv/utime.S: File removed. * sysdeps/unix/sysv/irix4/getpgid.S: File removed. * sysdeps/unix/sysv/irix4/msync.S: File removed. * sysdeps/unix/sysv/irix4/setpgid.S: File removed. * sysdeps/unix/sysv/irix4/signal.S: File removed. * sysdeps/unix/sysv/irix4/sysmp.S: File removed. * sysdeps/unix/sysv/irix4/syssgi.S: File removed. * sysdeps/unix/sysv/isc2.2/rename.S: File removed. * sysdeps/unix/sysv/linux/adjtimex.S: File removed. * sysdeps/unix/sysv/linux/fork.S: File removed. * sysdeps/unix/sysv/linux/getpgid.S: File removed. * sysdeps/unix/sysv/linux/getpgrp.S: File removed. * sysdeps/unix/sysv/linux/getsid.S: File removed. * sysdeps/unix/sysv/linux/gtty.S: File removed. * sysdeps/unix/sysv/linux/mlock.S: File removed. * sysdeps/unix/sysv/linux/mlockall.S: File removed. * sysdeps/unix/sysv/linux/mount.S: File removed. * sysdeps/unix/sysv/linux/munlock.S: File removed. * sysdeps/unix/sysv/linux/munlockall.S: File removed. * sysdeps/unix/sysv/linux/pipe.S: File removed. * sysdeps/unix/sysv/linux/s_ptrace.S: File removed. * sysdeps/unix/sysv/linux/setpgid.S: File removed. * sysdeps/unix/sysv/linux/setsid.S: File removed. * sysdeps/unix/sysv/linux/settimeofday.S: File removed. * sysdeps/unix/sysv/linux/sigpending.S: File removed. * sysdeps/unix/sysv/linux/stty.S: File removed. * sysdeps/unix/sysv/linux/umount.S: File removed. * sysdeps/unix/sysv/linux/wait4.S: File removed. * sysdeps/unix/sysv/linux/i386/ipc.S: File removed. * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed. * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed. * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed. * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed. * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed. * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed. * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed. * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed. * io/mknod.c: New file.
1996-01-18Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros. (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions. [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names) as `extern inline's calling the `x' functions. * io/fstat.c: New file. * io/lstat.c: New file. * io/stat.c: New file. * sysdeps/generic/lstat.c: File removed. * sysdeps/generic/lxstat.c: New file. * sysdeps/mach/hurd/fstat.c: File removed. * sysdeps/mach/hurd/fxstat.c: New file. * sysdeps/mach/hurd/lstat.c: File removed. * sysdeps/mach/hurd/lxstat.c: New file. * sysdeps/mach/hurd/mknod.c: File removed. * sysdeps/mach/hurd/stat.c: File removed. * sysdeps/mach/hurd/xmknod.c: New file. * sysdeps/mach/hurd/xstat.c: New file. * sysdeps/stub/fstat.c: File removed. * sysdeps/stub/fxstat.c: New file. * sysdeps/stub/lstat.c: File removed. * sysdeps/stub/lxstat.c: New file. * sysdeps/stub/mknod.c: File removed. * sysdeps/stub/stat.c: File removed. * sysdeps/stub/xmknod.c: New file. * sysdeps/stub/xstat.c: New file. * sysdeps/unix/common/lstat.S: File removed. * sysdeps/unix/common/lxstat.c: New file. * sysdeps/unix/fstat.S: File removed. * sysdeps/unix/fxstat.c: New file. * sysdeps/unix/mknod.S: File removed. * sysdeps/unix/stat.S: File removed. * sysdeps/unix/sysv/linux/fstat.c: File removed. * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed. * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed. * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed. * sysdeps/unix/sysv/linux/i386/xstat.S: File removed. * sysdeps/unix/sysv/linux/lstat.c: File removed. * sysdeps/unix/sysv/linux/mknod.c: File removed. * sysdeps/unix/sysv/linux/stat.c: File removed. * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed. * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed. * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed. * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed. * sysdeps/unix/xmknod.c: New file. * sysdeps/unix/xstat.c: New file. * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod. * misc/Makefile (routines): Remove mknod. * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros. (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions. [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names) as `extern inline's calling the `x' functions. * io/fstat.c: New file. * io/lstat.c: New file. * io/stat.c: New file. * sysdeps/generic/lstat.c: File removed. * sysdeps/generic/lxstat.c: New file. * sysdeps/mach/hurd/fstat.c: File removed. * sysdeps/mach/hurd/fxstat.c: New file. * sysdeps/mach/hurd/lstat.c: File removed. * sysdeps/mach/hurd/lxstat.c: New file. * sysdeps/mach/hurd/mknod.c: File removed. * sysdeps/mach/hurd/stat.c: File removed. * sysdeps/mach/hurd/xmknod.c: New file. * sysdeps/mach/hurd/xstat.c: New file. * sysdeps/stub/fstat.c: File removed. * sysdeps/stub/fxstat.c: New file. * sysdeps/stub/lstat.c: File removed. * sysdeps/stub/lxstat.c: New file. * sysdeps/stub/mknod.c: File removed. * sysdeps/stub/stat.c: File removed. * sysdeps/stub/xmknod.c: New file. * sysdeps/stub/xstat.c: New file. * sysdeps/unix/common/lstat.S: File removed. * sysdeps/unix/common/lxstat.c: New file. * sysdeps/unix/fstat.S: File removed. * sysdeps/unix/fxstat.c: New file. * sysdeps/unix/mknod.S: File removed. * sysdeps/unix/stat.S: File removed. * sysdeps/unix/sysv/linux/fstat.c: File removed. * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed. * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed. * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed. * sysdeps/unix/sysv/linux/i386/xstat.S: File removed. * sysdeps/unix/sysv/linux/lstat.c: File removed. * sysdeps/unix/sysv/linux/mknod.c: File removed. * sysdeps/unix/sysv/linux/stat.c: File removed. * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed. * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed. * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed. * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed. * sysdeps/unix/xmknod.c: New file. * sysdeps/unix/xstat.c: New file. * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod. * misc/Makefile (routines): Remove mknod. * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan): Add missing ; in little-endian case.
1996-01-17Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>Roland McGrath
* sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle. * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode' member of `struct timex' instead of `modes'. From Andreas Schwab. * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version. * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version. * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable. [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace. [$(subdir) = misc] (headers): Append sys/mount.h. * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S: New files. Implement system calls. * sysdeps/unix/sysv/linux/sys/mount.h: New header file. * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around ptrace system call. * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call. * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct types for i386/Linux. Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle. * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode' member of `struct timex' instead of `modes'. From Andreas Schwab. * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version. * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version. * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable. [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace. [$(subdir) = misc] (headers): Append sys/mount.h. * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S: New files. Implement system calls. * sysdeps/unix/sysv/linux/sys/mount.h: New header file. * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around ptrace system call. * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call. * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct types for i386/Linux.
1996-01-17Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/time.S: Moved from sysv4. * sysdeps/unix/sysv/irix4/time.S: File removed. * sysdeps/unix/sysv/linux/signum.h: Moved from sysdeps/unix/sysv/linux/i386. (_NSIG): Move inside #ifdef _SIGNAL_H. Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/unix/sysv/time.S: Moved from sysv4. * sysdeps/unix/sysv/irix4/time.S: File removed. * sysdeps/unix/sysv/linux/signum.h: Moved from sysdeps/unix/sysv/linux/i386. (_NSIG): Move inside #ifdef _SIGNAL_H.
1995-12-03* sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.cvs/libc-951204cvs/libc-951203Roland McGrath
(_hurd_set_brk): Try to allocate more space when we run out. * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with zero and examine it again. * sysdeps/unix/sysv/linux/i386/brk.c: New file. * sysdeps/unix/sysv/linux/i386/brk.S: File removed. * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
1995-12-02Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951202Roland McGrath
* sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]: Invoke this macro before calling DL_MAIN. * malloc/malloc.c (malloc): Do initialization here, before checking the hook. (_malloc_internal): Don't do it here.
1995-11-23Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951123Roland McGrath
* sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias for errno. * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as alias for _IO_vfprintf. * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed. * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use __fpu_control instead of ___fpu_control. * sysdeps/unix/sysv/linux/i386/ieee_fpu.c (___fpu_control): Renamed to __fpu_control. * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise. * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise. * elf/dl-minimal.c: New file. * elf/Makefile (rtld-routines): Add dl-minimal. * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail): Functions moved to dl-minimal.c. * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc, sigjmp_save, longjmp): Likewise. * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize to &_end, regardless of PIC. * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
1995-11-03Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951103Roland McGrath
* sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common.
1995-10-31Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951031Roland McGrath
* sysdeps/mach/hurd/group_member.c: New file. * sysdeps/generic/group_member.c: New file. * Makerules (lib-noranlib): Don't depend on $(install-lib). (others): Do. * extra-lib.mk: Fix test of $(lib)-no-lib-dep. Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * Rules (others): Depend on $(extra-objs). * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member. * posix/Makefile (routines): Add group_member. * sysdeps/posix/euidaccess.c: New file, adapted from fileutils. * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for SIG operand in asm so it must be a register. Add dead return to quiet gcc warning. * Makerules (sysd-rules): Write a defn for sysd-rules-done. [! sysd-rules-done]: Inhibit deps.
1995-10-30Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>Roland McGrath
* sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use simulation of system call using select. * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation. * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER. * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter name usage (new->act, old->oact). Correct asm statement because of gcc strangeness. * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb. * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They conflict with the ones in stdio.h. * string/tester.c: %Z is no complete format. Change to %Zd. * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
1995-10-26Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/linux/i386/sigaction.c: New file. * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro on syscall_error. For PIC, it is a local label; for non-PIC, JUMPTARGET expands to the unadorned name anyway. * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise. * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. * sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
1995-10-26* hurd/hurdstartup.c (_hurd_startup): Use newRoland McGrath
exec_startup_get_info RPC from exec_startup.defs in place of old exec_startup from exec.defs. Remove kludge to guess user entry and phdr locations, since the new RPC gives us that info. * sysdeps/generic/_strerror.c: Undo last change.
1995-10-25Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/linux/stat.c: New file. * sysdeps/unix/sysv/linux/fstat.c: New file. * sysdeps/unix/sysv/linux/lstat.c: New file. * sysdeps/unix/sysv/linux/i386/stat.S: File removed. * sysdeps/unix/sysv/linux/i386/fstat.S: File removed. * sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
1995-10-25* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):Roland McGrath
New macro. (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error. * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define only #ifndef PIC. * Makeconfig (built-program-cmd): New variable. * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd). * time/Makefile (zic-cmd): Likewise. * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
1995-10-19* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): UseRoland McGrath
SYSCALL_PIC_SETUP before jumping to syscall_error. * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro. (PSEUDO): Use it before jumping to syscall_error. * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address; expect it in %ebx on entry. Pop old %ebx value off stack after using it.
1995-10-18Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead of stdio/_itoa.h. Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT register %ebx before calling __xstat through PLT. * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment. * sysdeps/unix/sysv/linux/sigset.h: Remove file. * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of stdio/_itoa.h. * hurd/hurdlookup.c: Likewise.
1995-10-16Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>Roland McGrath
* malloc/malloc.c (_malloc_internal): Performance fix. Move if statement out of loop. * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster implementation using GMP functions. Contributed by Torbjorn Granlund and Ulrich Drepper. * stdio/test_rdwr.c: Include <errno.h>. * sysdeps/i386/i586/Implies: New file. New highly optimized string functions for i[345]86. * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files. * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files. * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files. * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files. * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files. * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files. * sysdeps/i386/i586/strlen.S: New file. * sysdeps/i386/memchr.c: Removed. There is now an assembler version. * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did not correspond to used values. * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper around a kernel header file. * sysdeps/unix/sysv/linux/Dist: Add it. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers): Likewise. * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of defining ourself we use a kernel header file. * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system call handler for i586. * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up. Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> * malloc/malloc.c (_malloc_internal): Performance fix. Move if statement out of loop. * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster implementation using GMP functions. Contributed by Torbjorn Granlund and Ulrich Drepper. * stdio/test_rdwr.c: Include <errno.h>. * sysdeps/i386/i586/Implies: New file. New highly optimized string functions for i[345]86. * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files. * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files. * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files. * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files. * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files. * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files. * sysdeps/i386/i586/strlen.S: New file. * sysdeps/i386/memchr.c: Removed. There is now an assembler version. * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did not correspond to used values. * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper around a kernel header file. * sysdeps/unix/sysv/linux/Dist: Add it. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers): Likewise. * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of defining ourself we use a kernel header file. * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system call handler for i586. * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up.
1995-09-30Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* posix/tstgetopt.c, posix/tstgetopt.args: Test long options too. * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and restore %ebx by hand for personality syscall. GCC cannot deal with spilling the dedicated GOT register. * misc/Makefile (routines): Add mntent, which was somehow omitted. Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> * sysdeps/unix/sysv/linux/adjtime.c (__adjtime): Change name of field `mode' in `struct timex' to `modes'. Linux-1.3.28 updates this name according to RFC 1489.
1995-09-21Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* sysdeps/stub/sys/sem_buf.h (union semun): New type. * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call __libc_global_ctors. * sysdeps/i386/init-first.c: Rewritten. * sysdeps/unix/sysv/linux/i386/init-first.S: File removed. * sysdeps/unix/sysv/linux/i386/init-first.c: New file. * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of ___fpu_control. * Makerules (build-shlib): New canned sequence, broken out of lib%.so rule. Link in $^ instead of just $<. (lib%.so: lib%_pic.a): Use it. (libc.so): New target; use $(build-shlib) for cmds, but also depend on soinit.so first and sofini.so last. * elf/soinit.c: New file. * elf/sofini.c: New file. * elf/Makefile (distribute): Add soinit.c and sofini.c. (extra-objs): Add soinit.so and sofini.so. * sysvipc/sys/shm.h (shmat): Fix return type to char *. * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed. * misc/syslog.c (vsyslog): Rewritten using open_memstream to dynamically allocate buffers. * Makerules (install-lib-nosubdir): Make this, rather than install-no-libc.a, depend on the installed shared libraries.
1995-09-08Document new files for Linux i386/ELF port.Ulrich Drepper
Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/Implies, sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs, sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c, sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S, sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h, sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h, sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c, sysdeps/unix/sysv/linux/gethostname.C, sysdeps/unix/sysv/linux/getpeername.S, sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S, sysdeps/unix/sysv/linux/getsockname.S, sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S, sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h, sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c, sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c, sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S, sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c, sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S, sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c, sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c, sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S, sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c, sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c, sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c, sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S, sysdeps/unix/sysv/linux/settimeofday.S, sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c, sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c, sysdeps/unix/sysv/linux/shutdown.S, sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S, sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h, sysdeps/unix/sysv/linux/sockaddrcom.h, sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c, sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S, sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c, sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c, sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c, sysdeps/unix/sysv/linux/tcsetattr.c, sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c, sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c, sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c, sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S, sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c: New Linux/ELF specific, architecture independent files. sysdeps/unix/sysv/linux/i386/Dist, sysdeps/unix/sysv/linux/i386/Makefile, sysdeps/unix/sysv/linux/i386/brk.S, sysdeps/unix/sysv/linux/i386/fcntlbits.h, sysdeps/unix/sysv/linux/i386/fpu_control.c, sysdeps/unix/sysv/linux/i386/fpu_control.h, sysdeps/unix/sysv/linux/i386/fstat.S, sysdeps/unix/sysv/linux/i386/fxstat.S, sysdeps/unix/sysv/linux/i386/ieee_fpu.c, sysdeps/unix/sysv/linux/i386/init-first.S, sysdeps/unix/sysv/linux/i386/ipc.S, sysdeps/unix/sysv/linux/i386/lstat.S, sysdeps/unix/sysv/linux/i386/lxstat.S, sysdeps/unix/sysv/linux/i386/mknod.S, sysdeps/unix/sysv/linux/i386/mmap.S, sysdeps/unix/sysv/linux/i386/sbrk.S, sysdeps/unix/sysv/linux/i386/setfpucw.c, sysdeps/unix/sysv/linux/i386/signum.h, sysdeps/unix/sysv/linux/i386/socket.S, sysdeps/unix/sysv/linux/i386/stat.S, sysdeps/unix/sysv/linux/i386/syscall.S, sysdeps/unix/sysv/linux/i386/sysdep.S, sysdeps/unix/sysv/linux/i386/sysdep.h, sysdeps/unix/sysv/linux/i386/xmknod.S, sysdeps/unix/sysv/linux/i386/xstat.S: New Linux i386/ELF specific files. sysdeps/unix/sysv/linux/sys/ipc_buf.h, sysdeps/unix/sysv/linux/sys/mman.h, sysdeps/unix/sysv/linux/sys/msq_buf.h, sysdeps/unix/sysv/linux/sys/sem_buf.h, sysdeps/unix/sysv/linux/sys/shm_buf.h, sysdeps/unix/sysv/linux/sys/socketcall.h, sysdeps/unix/sysv/linux/sys/timex.h: New Linux/ELF specific, architecture independent header files.