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.
This commit is contained in:
Catherine Moore
1998-09-08 23:20:30 +00:00
parent de1d28b669
commit d22136dc8c
2 changed files with 7 additions and 2 deletions

View 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

View 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 ()