[PATCH] assembler debug info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



        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 <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux