From b97ea9edf04bf30a98e940be5bfa3c01994bf90c Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Tue, 5 Nov 1991 22:00:51 +0000 Subject: [PATCH] ugly bug in relocation emission --- gas/config/obj-bout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2