* sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
authorRoland McGrath <roland@gnu.org>
Mon, 12 Feb 1996 10:23:47 +0000 (10:23 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 12 Feb 1996 10:23:47 +0000 (10:23 +0000)
  so real syscalls override unix/sysv/*.c on sysv-derived systems
  that have them.
* sysdeps/unix/common/syscalls.list: Add settimeofday here, to
override unix/sysv/settimeofday.c since that overrides
unix/syscalls.list.

* Makeconfig (+link): Put $(link-libc) after deps from $^,
regardless of where libc.a appears in the deps.

ChangeLog
Makeconfig
sysdeps/unix/common/syscalls.list
sysdeps/unix/sysv/syscalls.list

index 7406594..f053d2a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 Mon Feb 12 03:10:41 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
 
+       * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
+       so real syscalls override unix/sysv/*.c on sysv-derived systems
+       that have them.
+       * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
+       override unix/sysv/settimeofday.c since that overrides
+       unix/syscalls.list.
+
+       * Makeconfig (+link): Put $(link-libc) after deps from $^,
+       regardless of where libc.a appears in the deps.
+
        * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
        Add __waitid.
        * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
index 22e0007..b991f9d 100644 (file)
@@ -281,7 +281,7 @@ ifndef +link
 +link = $(CC) -nostdlib -nostartfiles -o $@ \
              $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS)  \
              $(addprefix $(csu-objpfx),start.o $(+preinit)) \
-             $(^:$(common-objpfx)libc%=$(link-libc)) \
+             $(filter-out $(common-objpfx)libc%,$^) $(link-libc) \
              $(addprefix $(csu-objpfx),$(+postinit))
 endif
 ifndef config-LDFLAGS
index 0f41a43..afec7b7 100644 (file)
@@ -7,6 +7,7 @@ ftruncate       -       ftruncate       2       ftruncate
 getpgid                -       getpgrp         1       __getpgid       getpgid
 getrusage      -       getrusage       2       __getrusage     getrusage
 gettimeofday   -       gettimeofday    2       __gettimeofday  gettimeofday
+settimeofday   -       settimeofday    2       __settimeofday  settimeofday
 setpgid                -       setpgrp         2       __setpgid       setpgid setpgrp
 setregid       -       setregid        2       __setregid      setregid
 setreuid       -       setreuid        2       __setreuid      setreuid
index b7fa490..4ed3685 100644 (file)
@@ -6,6 +6,8 @@ nice            -       nice            1       nice
 pause          -       pause           0       pause
 poll           -       poll            3       poll
 s_getdents     getdents getdents       3       __getdents
+setrlimit      -       setrlimit       2       setrlimit
+settimeofday   -       settimeofday    2       __settimeofday  settimeofday
 signal         -       signal          2       signal
 stime          -       stime           1       stime
 time           -       time            1       time