2000-12-29 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 29 Dec 2000 23:48:10 +0000 (23:48 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 29 Dec 2000 23:48:10 +0000 (23:48 +0000)
* listing.c (calc_hex): Print the variable part only if the
fragment type is rs_fill.

gas/ChangeLog
gas/listing.c

index dbdad6cd8d7daefc2ad56bb62b96a6ff70cb30be..9ad1bf0c3b4db3f7e438f897bb08cf43c3abc8b7 100644 (file)
@@ -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,
index 7fdb67d7722093fea803374ef08e7d3083fab80d..03dcfe802663a3167587be92beb14e1c34f413a9 100644 (file)
@@ -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;