2003-03-27 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Thu, 27 Mar 2003 09:47:16 +0000 (09:47 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 27 Mar 2003 09:47:16 +0000 (09:47 +0000)
* 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.

sysdeps/unix/Makefile

index f360013..12a4624 100644 (file)
@@ -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