symbol index for a R_IHCONST reloc.
+
+ * coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a
+ symbol index for a R_IHCONST reloc.
+
* targmatch.sed: Do not use \(\) recursively.
* targmatch.sed: Do not use \(\) recursively.
symndx = rel->r_symndx;
loc = contents + rel->r_vaddr - input_section->vma;
symndx = rel->r_symndx;
loc = contents + rel->r_vaddr - input_section->vma;
+ if (symndx == -1 || rel->r_type == R_IHCONST)
h = NULL;
else
h = obj_coff_sym_hashes (input_bfd)[symndx];
h = NULL;
else
h = obj_coff_sym_hashes (input_bfd)[symndx];