MIPS Assembly.

David Daney ddaney@avtrex.com
Mon Jun 21 22:44:00 GMT 2004


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