ugly bug in relocation emission
authorK. Richard Pixley <rich@cygnus>
Tue, 5 Nov 1991 22:00:51 +0000 (22:00 +0000)
committerK. Richard Pixley <rich@cygnus>
Tue, 5 Nov 1991 22:00:51 +0000 (22:00 +0000)
gas/config/obj-bout.c

index 74cd5f7b510f31e7a5b27e8f86caba292a65f00a..883859cb9c640d3a7b74f3199f814e97673e1ed1 100644 (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 */