OSDN Git Service

PR gas/10850
authoramodra <amodra>
Tue, 27 Oct 2009 08:57:43 +0000 (08:57 +0000)
committeramodra <amodra>
Tue, 27 Oct 2009 08:57:43 +0000 (08:57 +0000)
* listing.c (listing_flags): Delete.
* listing.h: Likewise.
* read.c (potable <lflags>): Call s_ignore.

gas/ChangeLog
gas/listing.c
gas/listing.h
gas/read.c

index db28217..5cb302a 100644 (file)
@@ -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
 
        * 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
index d1c291c..25178b3 100644 (file)
@@ -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);
index 6b6e9ce..79afdac 100644 (file)
@@ -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);
index 6144570..45e95f6 100644 (file)
@@ -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.  */