summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/listing.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index dbdad6cd8d7..9ad1bf0c3b4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
* doc/internals.texi (tc_conditional_pseudoop,
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;