PR 26505
	* elf32-xstormy16.c (xstormy16_elf_relax_section): Check
	is_elf_hash_table before accessing elf fields.
+2020-08-25  Alan Modra  <amodra@gmail.com>
+
+       PR 26505
+       * elf32-xstormy16.c (xstormy16_elf_relax_section): Check
+       is_elf_hash_table before accessing elf fields.
+
 2020-08-25  Alan Modra  <amodra@gmail.com>
 
        PR 26482
 
   /* Assume nothing changes.  */
   *again = FALSE;
 
-  if (bfd_link_relocatable (info))
+  if (bfd_link_relocatable (info)
+      || !is_elf_hash_table (info->hash))
     return TRUE;
 
   /* We only relax the .plt section at the moment.  */