aboutsummaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index b9f7336..cb25af1 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -653,10 +653,10 @@ bfd_decode_symclass (asymbol *symbol)
if (symbol->section && bfd_is_com_section (symbol->section))
{
- if (symbol->section == bfd_com_section_ptr)
- return 'C';
- else
+ if (symbol->section->flags & SEC_SMALL_DATA)
return 'c';
+ else
+ return 'C';
}
if (bfd_is_und_section (symbol->section))
{