Updated Portuguese translation for the BFD sub-directory
[binutils-gdb.git] / bfd / syms.c
index e0ab16795d64b72ba804ccb51f0b4eed88ca5623..7daf741b7b61e27db12e04226599979226cc1f21 100644 (file)
@@ -654,6 +654,10 @@ bfd_decode_symclass (asymbol *symbol)
 {
   char c;
 
+  /* Paranoia...  */
+  if (symbol == NULL || symbol->section == NULL)
+    return '?';
+
   if (symbol->section && bfd_is_com_section (symbol->section))
     {
       if (symbol->section->flags & SEC_SMALL_DATA)