bfd/
[deliverable/binutils-gdb.git] / gas / listing.c
index e563b5cef8f9dceb7cfb03af868f015b18c0d6de..717ed60111c86f0559bdee76ead752908c1d2af3 100644 (file)
@@ -749,11 +749,10 @@ list_symbol_table (void)
       if (SEG_NORMAL (S_GET_SEGMENT (ptr))
          || S_GET_SEGMENT (ptr) == absolute_section)
        {
-#ifdef BFD_ASSEMBLER
          /* Don't report section symbols.  They are not interesting.  */
          if (symbol_section_p (ptr))
            continue;
-#endif
+
          if (S_GET_NAME (ptr))
            {
              char buf[30], fmt[8];
@@ -947,15 +946,6 @@ listing_listing (char *name ATTRIBUTE_UNUSED)
   buffer = xmalloc (listing_rhs_width);
   data_buffer = xmalloc (MAX_BYTES);
   eject = 1;
-  list = head;
-
-  while (list != (list_info_type *) NULL && 0)
-    {
-      if (list->next)
-       list->frag = list->next->frag;
-      list = list->next;
-    }
-
   list = head->next;
 
   while (list)
@@ -1086,9 +1076,7 @@ listing_print (char *name)
        using_stdout = 0;
       else
        {
-#ifdef BFD_ASSEMBLER
-      bfd_set_error (bfd_error_system_call);
-#endif
+         bfd_set_error (bfd_error_system_call);
          as_perror (_("can't open list file: %s"), name);
          list_file = stdout;
          using_stdout = 1;
@@ -1108,9 +1096,7 @@ listing_print (char *name)
     {
       if (fclose (list_file) == EOF)
        {
-#ifdef BFD_ASSEMBLER
          bfd_set_error (bfd_error_system_call);
-#endif
          as_perror (_("error closing list file: %s"), name);
        }
     }
This page took 0.045783 seconds and 4 git commands to generate.