From: K. Richard Pixley Date: Tue, 5 Nov 1991 22:00:51 +0000 (+0000) Subject: ugly bug in relocation emission X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b97ea9edf04bf30a98e940be5bfa3c01994bf90c;p=binutils-gdb.git ugly bug in relocation emission --- diff --git a/gas/config/obj-bout.c b/gas/config/obj-bout.c index 74cd5f7b510..883859cb9c6 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 */