From: Ian Lance Taylor Date: Tue, 11 Jan 1994 18:06:01 +0000 (+0000) Subject: * listing.c (listing_prev_line): New function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af255ca0bb6845bfe02309debaf3e36a07f957d4;p=binutils-gdb.git * 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 3af08c4cc2d..b9ee1499a8c 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 606fd57efb6..68c9c390891 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);