[Top] [All Lists]

Re: modutils bug? 'if' clause executes incorrectly

To: Keith Owens <>
Subject: Re: modutils bug? 'if' clause executes incorrectly
From: Ralf Baechle <>
Date: Wed, 11 Oct 2000 17:14:49 +0200
Cc: Cort Dougan <>,,, Ralf Baechle <>
In-reply-to: <>; from on Wed, Oct 11, 2000 at 04:36:00PM +1100
References: <> <>

> >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?

For such occassions I would like to see some debugging functionality in
modutils which allows dumping the relocated disk image as it would be
loaded into the kernel into a disk image which then could be examined
with objdump etc. for potencial problems.


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