[PATCH] PPC64 debugging symbols for boot wrapper

From: Paul Mackerras
Date: Sun Mar 13 2005 - 22:25:40 EST

This patch is from Amos Waterland <apw@xxxxxxxxxx>.

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 <paulus@xxxxxxxxx>

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

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