From d22136dc8ca2847f6d3312489d0e06aba20f75df Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Tue, 8 Sep 1998 23:20:30 +0000 Subject: [PATCH] Tue Sep 8 18:10:01 1998 Catherine Moore * config/tc-arm.c (arm_adjust_symtab): Move #ifdef OBJ_COFF so that routine is defined for a.out format. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index a79b21ba7b9..c2d5846cc1c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 8 18:10:01 1998 Catherine Moore + + * 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 * config/tc-i386.c (i386_operand): Detect non-segment registers diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 693a21f3c61..4725cc59a48 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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 () -- 2.30.2