OSDN Git Service

2000-12-29 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl@lucon.org>
Fri, 29 Dec 2000 23:48:10 +0000 (23:48 +0000)
committerH.J. Lu <hjl@lucon.org>
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 dbdad6c..9ad1bf0 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 7fdb67d..03dcfe8 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;