Tue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
authorIan Lance Taylor <ian@airs.com>
Tue, 10 Jun 1997 15:21:36 +0000 (15:21 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 10 Jun 1997 15:21:36 +0000 (15:21 +0000)
* config/tc-arm.c (arm_adjust_symtab): Only set storage classes if
OBJ_COFF.

gas/ChangeLog
gas/config/tc-arm.c

index ce40d18..9a13c2b 100644 (file)
@@ -1,5 +1,8 @@
 Tue Jun 10 11:18:09 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
 
+       * config/tc-arm.c (arm_adjust_symtab): Only set storage classes if
+       OBJ_COFF.
+
        * config/tc-arm.c: Add prototypes for many static functions.
        (struct asm_opcode ): Add prototypes for parms field.
        (struct thumb_opcode ): Likewise.
index 37736b0..dcfa796 100644 (file)
@@ -6081,6 +6081,7 @@ arm_frob_label (sym)
 void
 arm_adjust_symtab ()
 {
+#ifdef OBJ_COFF
   symbolS *sym;
 
   for (sym = symbol_rootP; sym != NULL; sym = symbol_next (sym))
@@ -6103,8 +6104,7 @@ arm_adjust_symtab ()
             }
         }
     }
-
-  return;
+#endif
 }
 
 int