diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2000-12-29 23:48:10 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2000-12-29 23:48:10 +0000 |
commit | 087f563c287b29cb52d78072d019764cf78124c8 (patch) | |
tree | cc1423de5b60eaf6390575368f00a7d716b8609a | |
parent | f65288376eade2d4eeaf08d39f2aaa0470c49f44 (diff) | |
download | gdb-087f563c287b29cb52d78072d019764cf78124c8.zip gdb-087f563c287b29cb52d78072d019764cf78124c8.tar.gz gdb-087f563c287b29cb52d78072d019764cf78124c8.tar.bz2 |
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.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/listing.c | 1 |
2 files changed, 6 insertions, 0 deletions
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 <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 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; |