From: Paul Mackerras <paulus@samba.org>
To: akpm@osdl.org
Cc: Amos Waterland <apw@us.ibm.com>,
anton@samba.org, linux-kernel@vger.kernel.org
Subject: [PATCH] PPC64 debugging symbols for boot wrapper
Date: Mon, 14 Mar 2005 14:23:41 +1100 [thread overview]
Message-ID: <16949.957.650893.747905@cargo.ozlabs.ibm.com> (raw)
This patch is from Amos Waterland <apw@us.ibm.com>.
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@samba.org>
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)))
next reply other threads:[~2005-03-14 3:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-14 3:23 Paul Mackerras [this message]
2005-03-14 20:22 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16949.957.650893.747905@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=akpm@osdl.org \
--cc=anton@samba.org \
--cc=apw@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®