summaryrefslogtreecommitdiff
path: root/gas/listing.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-12-29 23:48:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-12-29 23:48:10 +0000
commit087f563c287b29cb52d78072d019764cf78124c8 (patch)
treecc1423de5b60eaf6390575368f00a7d716b8609a /gas/listing.c
parentf65288376eade2d4eeaf08d39f2aaa0470c49f44 (diff)
downloadbinutils-087f563c287b29cb52d78072d019764cf78124c8.tar.gz
binutils-087f563c287b29cb52d78072d019764cf78124c8.tar.bz2
binutils-087f563c287b29cb52d78072d019764cf78124c8.zip
2000-12-29 H.J. Lu <hjl@gnu.org>
* listing.c (calc_hex): Print the variable part only if the fragment type is rs_fill.
Diffstat (limited to 'gas/listing.c')
-rw-r--r--gas/listing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/listing.c b/gas/listing.c
index 7fdb67d7722..03dcfe80266 100644
--- a/gas/listing.c
+++ b/gas/listing.c
@@ -613,6 +613,7 @@ calc_hex (list)
data_buffer_size += 2;
octet_in_frag++;
}
+ if (frag_ptr->fr_type == rs_fill)
{
unsigned int var_rep_max = octet_in_frag;
unsigned int var_rep_idx = octet_in_frag;