[Top] [All Lists]

Re: modutils bug? 'if' clause executes incorrectly

To: Cort Dougan <>
Subject: Re: modutils bug? 'if' clause executes incorrectly
From: Keith Owens <>
Date: Wed, 11 Oct 2000 16:36:00 +1100
Cc:,, Ralf Baechle <>
In-reply-to: Your message of "Tue, 10 Oct 2000 22:43:17 MDT." <>
On Tue, 10 Oct 2000 22:43:17 -0600, 
Cort Dougan <> 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>