about summary refs log tree commit diff
path: root/sysdeps/unix/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-27 09:47:16 +0000
committerRoland McGrath <roland@gnu.org>2003-03-27 09:47:16 +0000
commit130ed2359f57a27949c65d90661ba72306e6c9b7 (patch)
tree93203ad12261dff6016df4dcd4534b5a7f0c20e2 /sysdeps/unix/Makefile
parent857635159910e2480b6dcb72d27e92e0383eebc3 (diff)
downloadglibc-130ed2359f57a27949c65d90661ba72306e6c9b7.tar.gz
glibc-130ed2359f57a27949c65d90661ba72306e6c9b7.tar.xz
glibc-130ed2359f57a27949c65d90661ba72306e6c9b7.zip
2003-03-27 Roland McGrath <roland@redhat.com>
	* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning
	macro calls and a #include <stub-tag.h> at the end.
	* Makerules ($(objpfx)stubs): Tweak sed commands.
Diffstat (limited to 'sysdeps/unix/Makefile')
-rw-r--r--sysdeps/unix/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile
index f3600136f3..12a46246d7 100644
--- a/sysdeps/unix/Makefile
+++ b/sysdeps/unix/Makefile
@@ -306,8 +306,10 @@ $(objpfx)stub-syscalls.c: $(common-objpfx)sysd-syscalls \
 		 echo "strong_alias (_no_syscall, $${call}_$${ver})"; \
 		 echo "symbol_version ($${call}_$${ver}, $$call, $$ver);" ;; \
 	   *) echo "weak_alias (_no_syscall, $$call)"; \
+	      echo "stub_warning ($$call)"; \
 	      echo "weak_alias (_no_syscall, __GI_$$call)" ;; \
 	   esac; \
+	 echo '#include <stub-tag.h>'; \
 	 done) > $@T
 	mv -f $@T $@
 generated += stub-syscalls.c