
From: "Andi Kleen" <ak@suse.de>

Remove debug information for vsyscalls

This helps gdb apparently because it doesn't like code with debugging
information before other code (?)

Via the kgdb folks.

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/arch/x86_64/kernel/Makefile |    2 ++
 1 files changed, 2 insertions(+)

diff -puN arch/x86_64/kernel/Makefile~x86_64-remove-debug-information-for-vsyscalls arch/x86_64/kernel/Makefile
--- 25/arch/x86_64/kernel/Makefile~x86_64-remove-debug-information-for-vsyscalls	2004-11-28 01:54:38.116802472 -0800
+++ 25-akpm/arch/x86_64/kernel/Makefile	2004-11-28 01:54:38.119802016 -0800
@@ -34,6 +34,8 @@ obj-$(CONFIG_MODULES)		+= module.o
 obj-y				+= topology.o
 obj-y				+= intel_cacheinfo.o
 
+CFLAGS_vsyscall.o		:= $(PROFILING) -g0
+
 bootflag-y			+= ../../i386/kernel/bootflag.o
 cpuid-$(subst m,y,$(CONFIG_X86_CPUID))  += ../../i386/kernel/cpuid.o
 topology-y                     += ../../i386/mach-default/topology.o
_
