From 362f5ae2c1641904ccf489742a4a3440e7e10814 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 2 May 2003 02:21:25 +0000 Subject: * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__]. * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Use $(make-target-directory). * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d. (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags). (compile-command.s, compile-command.c): Likewise. ($(objpfx)%.d): All such pattern rules removed. ($(+sysdir_pfx)sysd-rules): Don't generate them. ($(common-objpfx)dummy.d): Target removed. (make-dummy-dep): Variable removed. (generate-md5): Likewise. (%.d: %.dt): New pattern rule. (+depfiles): Use $(wildcard) function to get just existing *.d files and .d files for existing *.dt files. (common-clean): Remove all *.d and *.dt files. (before-compile): Add $(objpfx). when it doesn't exist, regardless of $(no_deps). * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed. (rtld-depfiles): Use .os.d instead of .d names. Include existing *.d files and .d files for existing *.dt files. * Makerules ($(common-objpfx)%.make): Protect with [! subdir]. Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable. * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack. Do s-*.d includes only if we have some syscall routines in this subdir. * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of @nobits. The former is accepted by gas on any ELF platform. --- sysdeps/generic/bp-thunks.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysdeps/generic') diff --git a/sysdeps/generic/bp-thunks.h b/sysdeps/generic/bp-thunks.h index 5d2e40d914..85f398fee4 100644 --- a/sysdeps/generic/bp-thunks.h +++ b/sysdeps/generic/bp-thunks.h @@ -1,5 +1,5 @@ /* Bounded-pointer syscall thunk support. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Greg McGary @@ -21,6 +21,8 @@ #ifndef _bpthunks_h_ #define _bpthunks_h_ +#ifndef __ASSEMBLER__ + /* This header is included by the syscall BP thunks defined in sysd-syscalls, as created by sysdeps/unix/make-syscalls.sh. It includes all headers that contain prototype declarations for system @@ -63,4 +65,6 @@ #include #include +#endif /* Not __ASSEMBLER__. */ + #endif /* _bpthunks_h_ */ -- cgit 1.4.1