linux-mips
[Top] [All Lists]

Re: modutils bug? 'if' clause executes incorrectly

To: Cort Dougan <cort@fsmlabs.com>
Subject: Re: modutils bug? 'if' clause executes incorrectly
From: Keith Owens <kaos@melbourne.sgi.com>
Date: Wed, 11 Oct 2000 16:36:00 +1100
Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr, Ralf Baechle <ralf@uni-koblenz.de>
In-reply-to: Your message of "Tue, 10 Oct 2000 22:43:17 MDT." <20001010224317.I733@hq.fsmlabs.com>
Sender: owner-linux-mips@oss.sgi.com
On Tue, 10 Oct 2000 22:43:17 -0600, 
Cort Dougan <cort@fsmlabs.com> wrote:
>I'm finding that in a Linux/MIPS module the test case attached executes the
>'if' clause in

Almost certainly nothing to do with modutils, insmod just relocates and
loads the program.  The only possible modutil problems are an
unexpected relocation being emitted by binutils or insmod not handling
a valid relocation correctly.  Compile with -g then do "objdump -rS
object.o".  What does the offending section of code look like,
including the relocations?


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