MIPS Assembly.

David Daney ddaney@avtrex.com
Tue Jun 22 00:45:00 GMT 2004


Chris Jones wrote:

>David;
>
>Your patch works. (At least it compiles.) It may take me sometime yet to 
>see if this modules actually loads without bringing ther kernel to its
>knees. ;)
>
>Thanks so much.
>
>With your permission, I would like to send this patch to cross-gcc?
>

You can send it wherever you like. 

David Daney

>
>Thanks
>
>-=cj
>
>On Mon, Jun 21, 2004 at 03:41:52PM -0700, David Daney wrote:
>  
>
>>Chris Jones wrote:
>>
>>    
>>
>>>Right. Of course! :)
>>>
>>>so I changed the
>>>j  2b
>>>
>>>to 
>>>
>>>beq $0, $0, 2b
>>>
>>>The trouble is I STILL get the
>>>
>>>"Error: Cannot branch to symbol in another section."
>>>
>>>message from gcc.
>>>
>>>
>>>      
>>>
>>If you are using binutils 2.15 you could try this patch:
>>
>>http://sources.redhat.com/ml/binutils/2004-04/msg00476.html
>>
>>You would probably have to supply -Wa,--allow_branch_to_undefined to gcc.
>>
>>David Daney.
>>
>>    
>>
>
>  
>




More information about the Binutils mailing list