mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-24 02:14:28 +00:00
PR gas/11973
* config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of long call instruction's displacement.
This commit is contained in:
parent
2ba6fc7f56
commit
ab3e2b4a1c
@ -1,3 +1,9 @@
|
||||
2010-09-08 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/11973
|
||||
* config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
|
||||
long call instruction's displacement.
|
||||
|
||||
2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR gas/11974
|
||||
|
@ -689,6 +689,8 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user