* config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr

and bra relax: update fragP->fr_fix after the fixup.
This commit is contained in:
Stephane Carrez 2001-07-28 19:28:04 +00:00
parent eefde3513e
commit 13283e2df1
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-07-27 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
and bra relax: update fragP->fr_fix after the fixup.
2001-07-27 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
* read.c (s_set): Check for missing symbol name.

View File

@ -2595,9 +2595,9 @@ md_estimate_size_before_relax (fragP, segment)
necessary for the unresolved symbol address. */
fragP->fr_opcode[0] = convert_branch (fragP->fr_opcode[0]);
fragP->fr_fix++;
fix_new (fragP, old_fr_fix - 1, 2, fragP->fr_symbol,
fix_new (fragP, fragP->fr_fix - 1, 2, fragP->fr_symbol,
fragP->fr_offset, 0, BFD_RELOC_16);
fragP->fr_fix++;
break;
case STATE_CONDITIONAL_BRANCH: