[PATCH] assembler debug info

From: Fedotov, Anton
Date: Tue Nov 15 2005 - 09:28:30 EST


This patch compensates lack of debug information from assembler
files.
It helps nm or objdump (with option -l) to find a filename and line
number for
each symbol defined in *.S files using debugging information.
Signed-off-by: Anton Fedotov <anton.fedotov@xxxxxxxxx>

diff -urN linux-2.6.14/Makefile linux/Makefile
--- linux-2.6.14/Makefile 2005-10-28 04:02:08.000000000 +0400
+++ linux/Makefile 2005-11-10 15:49:54.000000000 +0300
@@ -525,6 +525,7 @@

ifdef CONFIG_DEBUG_INFO
CFLAGS += -g
+AFLAGS += -g
endif

include $(srctree)/arch/$(ARCH)/Makefile
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/