about summary refs log tree commit diff
path: root/sysdeps/unix/make-syscalls.sh
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-10 09:11:13 +0000
committerRoland McGrath <roland@gnu.org>2003-03-10 09:11:13 +0000
commite48f96382f237c0edad5c446eca867092406a51d (patch)
tree0cc492aa8b714292edaed64529ac9ae0bf523b2e /sysdeps/unix/make-syscalls.sh
parent073e82bfaeeb5624b2c85012a5582a1308ddae05 (diff)
downloadglibc-e48f96382f237c0edad5c446eca867092406a51d.tar.gz
glibc-e48f96382f237c0edad5c446eca867092406a51d.tar.xz
glibc-e48f96382f237c0edad5c446eca867092406a51d.zip
* sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
	assembler command.
	* sysdeps/unix/Makefile (compile-syscall): New variable.
	Pass -g0 to compiler for assembling syscall stubs from stdin.

	* sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
	(STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
	Define these to do nothing.

	* configure.in: New check for -g on .S files.
	* configure: Regenerated.
	* config.make.in (have-cpp-asm-debuginfo): New variable.
	* config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
	* Makeconfig (ASFLAGS): New variable, if undefined and
	$(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
	* Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
Diffstat (limited to 'sysdeps/unix/make-syscalls.sh')
-rw-r--r--sysdeps/unix/make-syscalls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index 2c384f5e92..1d293cf9f2 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -198,7 +198,7 @@ shared-only-routines += $file
   done
 
   # And finally, pipe this all into the compiler.
-  echo '	) | $(COMPILE.S) -x assembler-with-cpp -o $@ -'
+  echo '	) | $(compile-syscall)'
 
   case $weak in
   *@*)