Browse Source

PR gas/10850

* listing.c (listing_flags): Delete.
	* listing.h: Likewise.
	* read.c (potable <lflags>): Call s_ignore.
gdb_7_1-branch
Alan Modra 17 years ago
parent
commit
c2069bb2e3
  1. 17
      gas/ChangeLog
  2. 14
      gas/listing.c
  3. 3
      gas/listing.h
  4. 2
      gas/read.c

17
gas/ChangeLog

@ -1,3 +1,10 @@
2009-10-27 Alan Modra <amodra@bigpond.net.au>
PR gas/10850
* listing.c (listing_flags): Delete.
* listing.h: Likewise.
* read.c (potable <lflags>): Call s_ignore.
2009-10-26 Nick Clifton <nickc@redhat.com>
* doc/as.texinfo: Add mention of RX port and inclusion of RX
@ -7,13 +14,13 @@
* config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or
'defl' in cases where the space between the keyword and the
expression has been scrubbed away.
expression has been scrubbed away.
Do not check whether a symbol is redefined with 'equ' here;
the function equals takes an argument indicating whether
redefinitions are allowed.
redefinitions are allowed.
Only call LISTING_NEWLINE if needed, and then after the call to
bump_line_counters.
bump_line_counters.
2009-10-25 Maciej W. Rozycki <macro@linux-mips.org>
* doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 to
@ -83,7 +90,7 @@
* config/tc-i386.c (i386_finalize_immediate): Don't generate
error message if operand string is NULL.
2009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr>
2009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr>
PR gas/3041
* config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations

14
gas/listing.c

@ -1409,14 +1409,6 @@ listing_eject (int ignore ATTRIBUTE_UNUSED)
listing_tail->edict = EDICT_EJECT;
}
void
listing_flags (int ignore ATTRIBUTE_UNUSED)
{
while ((*input_line_pointer++) && (*input_line_pointer != '\n'))
input_line_pointer++;
}
/* Turn listing on or off. An argument of 0 means to turn off
listing. An argument of 1 means to turn on listing. An argument
of 2 means to turn off listing, but as of the next line; that is,
@ -1558,12 +1550,6 @@ listing_source_file (const char *file)
/* Dummy functions for when compiled without listing enabled. */
void
listing_flags (int ignore)
{
s_ignore (0);
}
void
listing_list (int on)
{

3
gas/listing.h

@ -1,6 +1,6 @@
/* This file is listing.h
Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1995, 1997, 1998,
2003, 2005, 2007, 2008 Free Software Foundation, Inc.
2003, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@ -45,7 +45,6 @@
void listing_eject (int);
void listing_error (const char *message);
void listing_file (const char *name);
void listing_flags (int);
void listing_list (int on);
void listing_newline (char *ps);
void listing_prev_line (void);

2
gas/read.c

@ -371,7 +371,7 @@ static const pseudo_typeS potable[] = {
{"irpc", s_irp, 1},
{"irepc", s_irp, 1},
{"lcomm", s_lcomm, 0},
{"lflags", listing_flags, 0}, /* Listing flags. */
{"lflags", s_ignore, 0}, /* Listing flags. */
{"linefile", s_app_line, 0},
{"linkonce", s_linkonce, 0},
{"list", listing_list, 1}, /* Turn listing on. */

Loading…
Cancel
Save