Subject: Re: Panic during dump
To: None <Richard.Earnshaw@buzzard.freeserve.co.uk>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-arm
Date: 04/19/2002 16:23:52
On Fri, Apr 19, 2002 at 11:58:43PM +0100, Richard Earnshaw wrote:
> Sorry, no symbols. The cats is using the constructed a.out kernel. Do
> you know of any way to make the kernel think it has booted from one file
> when it has really booted from another?
Yah. Take a look at the IQ80321 config file ... look for SYMTAB_SPACE.
That allocates some space in .data for the symbol table.
Than you can use ${DBSYM} to fill that space after the ELF kernel has
linked, before it is copied to a.out.
Come to think of it, I do this on the Shark, too.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>