« Return to Thread: [Bug ld/10373] New: SH: ld relaxes jmp to bsr.

[Bug ld/10373] SH: ld relaxes jmp to bsr.

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View in Thread


------- Additional Comments From yoshii dot takashi at renesas dot com  2009-07-07 08:03 -------
Created an attachment (id=4040)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4040&action=view)
patch to fix

Because gcc generates .uses(R_SH_USES) both for jmp and jsr,
1. Gcc should not generate .uses for jmp. or
2. Ld should process both jmp and jsr.
I believe 2 is better.
This patch adds "jmp to bra" process to bfd.

--


http://sourceware.org/bugzilla/show_bug.cgi?id=10373

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

 « Return to Thread: [Bug ld/10373] New: SH: ld relaxes jmp to bsr.