aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-02-03 18:20:23 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-02-03 18:20:23 +0000
commitbea9907b2a19c3ed94595a88003b8900938b0ad9 (patch)
treeb2652f586bd91490ee6f658b40744dee34f5d96c /gas/read.c
parent940b2b788ccdda311ff16e18d79e68d0c7928842 (diff)
downloadfsf-binutils-gdb-bea9907b2a19c3ed94595a88003b8900938b0ad9.zip
fsf-binutils-gdb-bea9907b2a19c3ed94595a88003b8900938b0ad9.tar.gz
fsf-binutils-gdb-bea9907b2a19c3ed94595a88003b8900938b0ad9.tar.bz2
octets vs bytes changes for GAS
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/read.c b/gas/read.c
index d25c459..821c074 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1194,7 +1194,7 @@ do_align (n, fill, len, max)
just_record_alignment:
#endif
- record_alignment (now_seg, n);
+ record_alignment (now_seg, n - OCTETS_PER_BYTE_POWER);
}
/* Handle the .align pseudo-op. A positive ARG is a default alignment
@@ -2369,7 +2369,7 @@ do_org (segment, exp, fill)
char *p;
p = frag_var (rs_org, 1, 1, (relax_substateT) 0, exp->X_add_symbol,
- exp->X_add_number, (char *) NULL);
+ exp->X_add_number * OCTETS_PER_BYTE, (char *) NULL);
*p = fill;
}
}