aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-i960.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-i960.c')
-rw-r--r--bfd/coff-i960.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/coff-i960.c b/bfd/coff-i960.c
index c247417..d0374d2 100644
--- a/bfd/coff-i960.c
+++ b/bfd/coff-i960.c
@@ -488,14 +488,14 @@ coff_i960_relocate_section (output_bfd, info, input_bfd, input_section,
if (howto->type == R_OPTCALL && ! info->relocatable && symndx != -1)
{
- int class;
+ int class_val;
if (h != NULL)
- class = h->class;
+ class_val = h->symbol_class;
else
- class = sym->n_sclass;
+ class_val = sym->n_sclass;
- switch (class)
+ switch (class_val)
{
case C_NULL:
/* This symbol is apparently not from a COFF input file.