aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-11-05 22:00:51 +0000
committerK. Richard Pixley <rich@cygnus>1991-11-05 22:00:51 +0000
commitb97ea9edf04bf30a98e940be5bfa3c01994bf90c (patch)
tree8a36f6ad3b887b0d2ae89b3c20702625f3166c05 /gas
parent7c55a9969234a3ccea66ee272ca33e2d06e32c5f (diff)
downloadgdb-b97ea9edf04bf30a98e940be5bfa3c01994bf90c.zip
gdb-b97ea9edf04bf30a98e940be5bfa3c01994bf90c.tar.gz
gdb-b97ea9edf04bf30a98e940be5bfa3c01994bf90c.tar.bz2
ugly bug in relocation emission
Diffstat (limited to 'gas')
-rw-r--r--gas/config/obj-bout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-bout.c b/gas/config/obj-bout.c
index 74cd5f7..883859c 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 */