$ diff -ub /usr/src/binutils-2.20.51-2/gas/config/tc-mn10300.c.orig
/usr/src/binutils-2.20.51-2/gas/config/tc-mn10300.c
--- tc-mn10300.c.orig 2010-03-03 20:51:43.001000000 +0200
+++ tc-mn10300.c 2010-09-03 12:41:04.383203900 +0300
@@ -689,6 +689,8 @@
fragP->fr_literal[offset] = 0xdd;
fragP->fr_literal[offset + 5] = fragP->fr_literal[offset + 3];
fragP->fr_literal[offset + 6] = fragP->fr_literal[offset + 4];
+ fragP->fr_literal[offset + 3] = 0;
+ fragP->fr_literal[offset + 4] = 0;
fix_new (fragP, fragP->fr_fix + 1, 4, fragP->fr_symbol,
fragP->fr_offset + 1, 1, BFD_RELOC_32_PCREL);
--
Summary: mn10300 assembler produce incorrect calls address for
far calls (32bit) when command contain nonzero stack
and/or saving registers
Product: binutils
Version: 2.20
Status: NEW
Severity: critical
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: DaLiV at apollo dot lv
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11973
------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils