Re: some tiny and dumb questions

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 18 May 1998 16:21:24 +0100 (BST)


> > See hex2hex and bin2hex in drivers/sound.
>
> No, those still require the compiler. Why not have a tool that reads
> in the raw data and produces an ELF object file all by itself?
> That would get rid of the extra step with the compiler.

I did have a look at this. Its easy to get to the point you do it with
gas not gcc, but then it isnt portable. bin2hex is portable across all
platforms. Remember PCI firmware is typically portable too

> > You mean pack System.map on the end of the zImage perhaps as a
> > second gzip file ?
>
> That would be fine, as long as it can show up as /proc/System.map.gz
> or become part of /proc/ksyms. It would be best to have separate

ugh. "Please throw 150K of symbols into my memory image". I think not.
If its packed into the zImage file you can pull them out and if they are MD5'd
and the MD5 signature is in the kernel you can even verify they match

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu