From: Catherine Moore Date: Tue, 8 Sep 1998 23:20:30 +0000 (+0000) Subject: Tue Sep 8 18:10:01 1998 Catherine Moore X-Git-Tag: gdb-4_18~1194 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d22136dc8ca2847f6d3312489d0e06aba20f75df;p=external%2Fbinutils.git 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a79b21b..c2d5846 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 693a21f..4725cc5 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 ()