From 82525b56267152b37e6a57430d2a6c9a5546a84b 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 dbdad6cd8d..9ad1bf0c3b 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 7fdb67d772..03dcfe8026 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.11.0