This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS Assembly.


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.









Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]