Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
authorCatherine Moore <clm@redhat.com>
Tue, 8 Sep 1998 23:20:30 +0000 (23:20 +0000)
committerCatherine Moore <clm@redhat.com>
Tue, 8 Sep 1998 23:20:30 +0000 (23:20 +0000)
        * config/tc-arm.c (arm_adjust_symtab):  Move #ifdef
        OBJ_COFF so that routine is defined for a.out format.

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

index a79b21b..c2d5846 100644 (file)
@@ -1,3 +1,8 @@
+Tue Sep  8 18:10:01 1998  Catherine Moore  <clm@cygnus.com>
+        * config/tc-arm.c (arm_adjust_symtab):  Move #ifdef
+        OBJ_COFF so that routine is defined for a.out format.
+
 Tue Sep  8 15:56:19 1998  Richard Henderson  <rth@cygnus.com>
 
        * config/tc-i386.c (i386_operand): Detect non-segment registers
index 693a21f..4725cc5 100644 (file)
@@ -6313,11 +6313,11 @@ arm_frob_label (sym)
 #define S_GET_STORAGE_CLASS(S)   (elf_symbol ((S)->bsym)->internal_elf_sym.st_info)
 #define S_SET_STORAGE_CLASS(S,V) (elf_symbol ((S)->bsym)->internal_elf_sym.st_info = (V))
 #endif
-#ifdef OBJ_COFF
 void
 arm_adjust_symtab ()
 {
   symbolS * sym;
+#ifdef OBJ_COFF
 
   for (sym = symbol_rootP; sym != NULL; sym = symbol_next (sym))
     {
@@ -6354,8 +6354,8 @@ arm_adjust_symtab ()
       if (ARM_IS_INTERWORK (sym))
        coffsymbol(sym->bsym)->native->u.syment.n_flags = 0xFF;
     }
-}
 #endif /* OBJ_COFF */
+}
 #ifdef OBJ_ELF
 void
 armelf_adjust_symtab ()