3 @@ -5696,9 +5696,9 @@ mips_elf_create_dynamic_relocation (bfd
5 /* We must now calculate the dynamic symbol table index to use
8 - && (!h->root.def_regular
9 - || (info->shared && !info->symbolic && !h->root.forced_local)))
11 + || (h->root.def_regular
12 + && (info->executable || info->symbolic || h->root.forced_local))))
14 indx = h->root.dynindx;
15 if (SGI_COMPAT (output_bfd))