On Fri, 13 Oct 2000 02:23:50 +0200,
Ralf Baechle <firstname.lastname@example.org> wrote:
>On Thu, Oct 12, 2000 at 01:25:31PM +1100, Keith Owens wrote:
>> By the time insmod has finished with the module, the rest is a binary
>> blob. No ELF headers, no symbols, all the sections run together with a
>> struct module at the start. I can dump that easily enough but I
>> question how much use it would be. Outputing anything more complicated
>> such as ELF headers and symbols would be a significant addition to
>The blob is actually already ok and just what I wanted. You can easily talk
>objdump into disassembling that easily. All that is required in addition
>is the base address of the blob as the argument of the --adjust-vma option.
I will add insmod option -O to save the binary object to a file.
insmod -m -O binary module
will save the binary blob, -m already gives you the section and symbol
map for the final binary object.