From 087f563c287b29cb52d78072d019764cf78124c8 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 29 Dec 2000 23:48:10 +0000 Subject: [PATCH] 2000-12-29 H.J. Lu * listing.c (calc_hex): Print the variable part only if the fragment type is rs_fill. --- gas/ChangeLog | 5 +++++ gas/listing.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index dbdad6c..9ad1bf0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-12-29 H.J. Lu + + * listing.c (calc_hex): Print the variable part only if the + fragment type is rs_fill. + 2000-12-29 Hans-Peter Nilsson * doc/internals.texi (tc_conditional_pseudoop, diff --git a/gas/listing.c b/gas/listing.c index 7fdb67d..03dcfe8 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; -- 2.7.4