ugly bug in relocation emission

This commit is contained in:
K. Richard Pixley
1991-11-05 22:00:51 +00:00
parent 7c55a99692
commit b97ea9edf0

View File

@ -106,7 +106,7 @@ relax_addressT segment_address_in_file;
for (; fixP; fixP = fixP->fx_next) {
if (fixP->fx_addsy != NULL) {
tc_bout_fix_to_chars(*where, fixP, segment_address_in_file);
where += sizeof(struct relocation_info);
*where += sizeof(struct relocation_info);
} /* if there's a symbol */
} /* for each fixup */