diff --git a/gas/config/obj-bout.c b/gas/config/obj-bout.c index 74cd5f7b51..883859cb9c 100644 --- a/gas/config/obj-bout.c +++ b/gas/config/obj-bout.c @@ -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 */