+2020-08-25 Alan Modra <amodra@gmail.com>
+
+ PR26501
+ * gas/config/tc-tic54x.c (tic54x_undefined_symbol): Properly treat
+ misc_symbol_hash entries without values.
+
2020-08-25 Alan Modra <amodra@gmail.com>
PR 26500
if ((sym = (tic54x_symbol *) str_hash_find (cc_hash, name)) != NULL
|| (sym = (tic54x_symbol *) str_hash_find (cc2_hash, name)) != NULL
|| (sym = (tic54x_symbol *) str_hash_find (cc3_hash, name)) != NULL
- || (sym = (tic54x_symbol *) str_hash_find (misc_symbol_hash,
- name)) != NULL
- || (sym = (tic54x_symbol *) str_hash_find (sbit_hash, name)) != NULL)
- {
- return symbol_new (name, reg_section, &zero_address_frag, sym->value);
- }
-
- if ((sym = (tic54x_symbol *) str_hash_find (reg_hash, name)) != NULL
+ || str_hash_find (misc_symbol_hash, name) != NULL
+ || (sym = (tic54x_symbol *) str_hash_find (sbit_hash, name)) != NULL
+ || (sym = (tic54x_symbol *) str_hash_find (reg_hash, name)) != NULL
|| (sym = (tic54x_symbol *) str_hash_find (mmreg_hash, name)) != NULL
|| !strcasecmp (name, "a")
|| !strcasecmp (name, "b"))