This patch is from Amos Waterland <[EMAIL PROTECTED]>. It is really useful when debugging early boot on simulator to have debug symbols in the 32-bit code that uncompresses the kernel proper.
Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]> diff -urN linux-2.5/arch/ppc64/boot/Makefile test/arch/ppc64/boot/Makefile --- linux-2.5/arch/ppc64/boot/Makefile 2005-03-07 10:46:38.000000000 +1100 +++ test/arch/ppc64/boot/Makefile 2005-03-14 13:42:34.000000000 +1100 @@ -27,6 +27,11 @@ BOOTLFLAGS := -Ttext 0x00400000 -e _start -T $(srctree)/$(src)/zImage.lds OBJCOPYFLAGS := contents,alloc,load,readonly,data +ifdef CONFIG_DEBUG_INFO +BOOTCFLAGS += -g +BOOTAFLAGS += -g +endif + src-boot := crt0.S string.S prom.c main.c zlib.c imagesize.c div64.S src-boot := $(addprefix $(obj)/, $(src-boot)) obj-boot := $(addsuffix .o, $(basename $(src-boot))) - 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/