aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1998-09-08 23:20:30 +0000
committerCatherine Moore <clm@redhat.com>1998-09-08 23:20:30 +0000
commitd22136dc8ca2847f6d3312489d0e06aba20f75df (patch)
tree3870ccedaa027886134aa79a7cf11df92001318a /gas
parentde1d28b669305e05fb8294513ac83fe0337f81bf (diff)
downloadgdb-d22136dc8ca2847f6d3312489d0e06aba20f75df.zip
gdb-d22136dc8ca2847f6d3312489d0e06aba20f75df.tar.gz
gdb-d22136dc8ca2847f6d3312489d0e06aba20f75df.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c4
2 files changed, 7 insertions, 2 deletions
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 <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
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 ()