linux-mips-fnet
[Top] [All Lists]

Re: modutils bug? 'if' clause executes incorrectly

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: modutils bug? 'if' clause executes incorrectly
From: Keith Owens <kaos@melbourne.sgi.com>
Date: Fri, 13 Oct 2000 11:57:44 +1100
Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr
In-reply-to: Your message of "Fri, 13 Oct 2000 02:23:50 +0200." <20001013022350.J21634@bacchus.dhis.org>
On Fri, 13 Oct 2000 02:23:50 +0200, 
Ralf Baechle <ralf@oss.sgi.com> 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
>> insmod.
>
>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.

<Prev in Thread] Current Thread [Next in Thread>