mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
($(common-objpfx)s-%.d): Generalized from $(common-objpfx)s-proto.d rule. (common-generated): Add s-proto-cancel.d. * sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for cancellable syscalls. * sysdeps/unix/s-proto-cancel.S: New file.
This commit is contained in:
parent
4aeb650e63
commit
c99dac3600
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2002-12-28 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
|
||||||
|
($(common-objpfx)s-%.d): Generalized from
|
||||||
|
$(common-objpfx)s-proto.d rule.
|
||||||
|
(common-generated): Add s-proto-cancel.d.
|
||||||
|
* sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for
|
||||||
|
cancellable syscalls.
|
||||||
|
* sysdeps/unix/s-proto-cancel.S: New file.
|
||||||
|
|
||||||
2002-12-29 Roland McGrath <roland@redhat.com>
|
2002-12-29 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* resolv/res_libc.c: Move _res defn magic after res_init defn
|
* resolv/res_libc.c: Move _res defn magic after res_init defn
|
||||||
|
@ -297,22 +297,24 @@ $(common-objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \
|
|||||||
mv -f $@T $@
|
mv -f $@T $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# This syscall objects depend on s-proto.d, which is generated to
|
# The syscall objects depend on s-proto.d or s-proto-cancel.d, which
|
||||||
# specify dependencies generated syscalls with have on headers.
|
# are generated to specify dependencies generated syscalls have on
|
||||||
|
# headers.
|
||||||
ifdef subdir
|
ifdef subdir
|
||||||
ifndef no_deps
|
ifndef no_deps
|
||||||
# These deps use file names relative to a subdir, so don't
|
# These deps use file names relative to a subdir, so don't
|
||||||
# include them in the parent directory.
|
# include them in the parent directory.
|
||||||
-include $(common-objpfx)s-proto.d
|
-include $(common-objpfx)s-proto.d
|
||||||
|
-include $(common-objpfx)s-proto-cancel.d
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(common-objpfx)s-proto.d: $(common-objpfx)%.d: $(..)sysdeps/unix/%.S \
|
$(common-objpfx)s-%.d: $(..)sysdeps/unix/s-%.S \
|
||||||
$(wildcard $(+sysdep_dirs:%=%/syscalls.list))
|
$(wildcard $(+sysdep_dirs:%=%/syscalls.list))
|
||||||
# Don't try to use compat.h in the db2 subdir
|
# Don't try to use compat.h in the db2 subdir
|
||||||
$(subst -include ./compat.h,,$(+make-deps))
|
$(subst -include ./compat.h,,$(+make-deps))
|
||||||
|
|
||||||
common-generated += s-proto.d
|
common-generated += s-proto.d s-proto-cancel.d
|
||||||
postclean-generated += sysd-syscalls
|
postclean-generated += sysd-syscalls
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -139,7 +139,7 @@ shared-only-routines += $file
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo ' $(common-objpfx)s-proto.d'
|
echo " \$(common-objpfx)s-proto$cancellable.d"
|
||||||
case x"$callnum" in
|
case x"$callnum" in
|
||||||
x_)
|
x_)
|
||||||
echo "\
|
echo "\
|
||||||
@ -248,7 +248,7 @@ shared-only-routines += $file
|
|||||||
# generate makefile envelope & rule head
|
# generate makefile envelope & rule head
|
||||||
echo "ifeq (,\$(filter $file,\$(bp-thunks)))"
|
echo "ifeq (,\$(filter $file,\$(bp-thunks)))"
|
||||||
echo "bp-thunks += $file"
|
echo "bp-thunks += $file"
|
||||||
echo "\$(objpfx)\$(bppfx)$file.ob: \$(common-objpfx)s-proto.d"
|
echo "\$(objpfx)\$(bppfx)$file.ob: \$(common-objpfx)s-proto$cancellable.d"
|
||||||
|
|
||||||
# generate macro head
|
# generate macro head
|
||||||
echo " (echo '#define $callname(`echo $arglist | \
|
echo " (echo '#define $callname(`echo $arglist | \
|
||||||
|
5
sysdeps/unix/s-proto-cancel.S
Normal file
5
sysdeps/unix/s-proto-cancel.S
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
/* This file exists just to have its dependencies determined.
|
||||||
|
Those dependencies are then used for the objects of the cancellable
|
||||||
|
system calls. */
|
||||||
|
|
||||||
|
#include <sysdep-cancel.h>
|
Loading…
Reference in New Issue
Block a user