diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-01-11 18:06:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-01-11 18:06:01 +0000 |
commit | af255ca0bb6845bfe02309debaf3e36a07f957d4 (patch) | |
tree | 8f6fe4deeb9b8d1f6edca7313830ed9ea6990ada | |
parent | cf286547ef96a3efa328ff53e2760aa63edf837e (diff) | |
download | gdb-af255ca0bb6845bfe02309debaf3e36a07f957d4.zip gdb-af255ca0bb6845bfe02309debaf3e36a07f957d4.tar.gz gdb-af255ca0bb6845bfe02309debaf3e36a07f957d4.tar.bz2 |
* listing.c (listing_prev_line): New function.
* listing.c: Include subsegs.h.
(listing_prev_line): New function.
(calc_hex): Reset byte_in_frag to zero for each new frag.
* config/tc-mips.c (append_insn): Call listing_prev_line after
emitting nop instructions.
* Makefile.in (listing.o): Depends upon subsegs.h.
-rw-r--r-- | gas/ChangeLog | 12 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 3af08c4..b9ee149 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,13 @@ +Tue Jan 11 13:01:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * listing.c (listing_prev_line): New function. + * listing.c: Include subsegs.h. + (listing_prev_line): New function. + (calc_hex): Reset byte_in_frag to zero for each new frag. + * config/tc-mips.c (append_insn): Call listing_prev_line after + emitting nop instructions. + * Makefile.in (listing.o): Depends upon subsegs.h. + Mon Jan 10 09:52:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu) * config/tc-hppa.c (pa_ip): Put check for missing label on .PROC @@ -8,7 +18,7 @@ Mon Jan 10 09:52:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu) Fri Jan 7 17:38:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information - with the associate stabs information. + with the associated stabs information. (ecoff_build_symbols): Never set the type of stabs symbols to st_Global. Don't update the symbol index or ifd if the gas symbol is not the same as the ECOFF symbol (which is now the case for diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 606fd57..68c9c39 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -803,6 +803,8 @@ append_insn (place, ip, address_expr, reloc_type) emit_nop (); if (nops > 1) emit_nop (); + if (listing) + listing_prev_line (); if (insn_label != NULL) { assert (S_GET_SEGMENT (insn_label) == now_seg); |