linux-mips-fnet
[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: Ralf Baechle <ralf@oss.sgi.com>
Date: Wed, 11 Oct 2000 17:31:17 +0200
Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr
In-reply-to: <20001010224317.I733@hq.fsmlabs.com>; from cort@fsmlabs.com on Tue, Oct 10, 2000 at 10:43:17PM -0600
References: <20001010224317.I733@hq.fsmlabs.com>
On Tue, Oct 10, 2000 at 10:43:17PM -0600, Cort Dougan wrote:

> This is with GCC version egcs-2.90.29 980515 (egcs-1.0.3 release) and
> binutils 2.8.1 (with BFD 2.8.1).
> 
> The asm in this routine looks good and I can keep the code from failing by
> removing the request_irq() and replacing it with something else that
> doesn't call into the kernel.  I can't reproduce this in user-code or in
> kernel code.
> 
> Does anyone have any suggestions?  Perhaps a suggestion for modutils
> version?

I have an idea what's going wrong, maybe it's related to something that
Brady Brown recently discovered.  Are the object files you are trying to
load generated by the assembler?  If so, try to do a relocatable link
on them with ld -r module-out.o module-in.o.

  Ralf

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