aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog17
-rw-r--r--gas/listing.c14
-rw-r--r--gas/listing.h3
-rw-r--r--gas/read.c2
4 files changed, 14 insertions, 22 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index db28217..5cb302a 100644
--- a/gas/ChangeLog
+++ b/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
diff --git a/gas/listing.c b/gas/listing.c
index d1c291c..25178b3 100644
--- a/gas/listing.c
+++ b/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,
@@ -1559,12 +1551,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)
{
s_ignore (0);
diff --git a/gas/listing.h b/gas/listing.h
index 6b6e9ce..79afdac 100644
--- a/gas/listing.h
+++ b/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);
diff --git a/gas/read.c b/gas/read.c
index 6144570..45e95f6 100644
--- a/gas/read.c
+++ b/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. */