From: Roland McGrath Date: Mon, 12 Feb 1996 10:23:47 +0000 (+0000) Subject: * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday, X-Git-Tag: upstream/2.20~22687 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fe58993bc8d1ccb8e6acaa5ad6618bafe5e30b6;p=platform%2Fupstream%2Flinaro-glibc.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 7406594..f053d2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ Mon Feb 12 03:10:41 1996 Roland McGrath + * 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. diff --git a/Makeconfig b/Makeconfig index 22e0007..b991f9d 100644 --- a/Makeconfig +++ b/Makeconfig @@ -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 diff --git a/sysdeps/unix/common/syscalls.list b/sysdeps/unix/common/syscalls.list index 0f41a43..afec7b7 100644 --- a/sysdeps/unix/common/syscalls.list +++ b/sysdeps/unix/common/syscalls.list @@ -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 diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list index b7fa490..4ed3685 100644 --- a/sysdeps/unix/sysv/syscalls.list +++ b/sysdeps/unix/sysv/syscalls.list @@ -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