* coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a
symbol index for a R_IHCONST reloc.
This commit is contained in:
parent
774dc17cdc
commit
34c6830141
|
@ -1,3 +1,8 @@
|
|||
Mon Mar 31 16:11:35 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a
|
||||
symbol index for a R_IHCONST reloc.
|
||||
|
||||
Mon Mar 31 15:40:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
|
||||
|
||||
* targmatch.sed: Do not use \(\) recursively.
|
||||
|
|
|
@ -353,7 +353,7 @@ coff_a29k_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||
symndx = rel->r_symndx;
|
||||
loc = contents + rel->r_vaddr - input_section->vma;
|
||||
|
||||
if (symndx == -1)
|
||||
if (symndx == -1 || rel->r_type == R_IHCONST)
|
||||
h = NULL;
|
||||
else
|
||||
h = obj_coff_sym_hashes (input_bfd)[symndx];
|
||||
|
|
Loading…
Reference in New Issue