include/elf
[deliverable/binutils-gdb.git] / gas / config / tc-i386.c
index 767d1fcee341ac537db205b53262a09d9b175f3b..dd2adcc5fa1bbbca3763713039506a3574ab0465 100644 (file)
@@ -2499,6 +2499,10 @@ tc_i386_fix_adjustable (fixS *fixP ATTRIBUTE_UNUSED)
       || fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT
       || fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
     return 0;
+
+  if (fixP->fx_addsy != NULL
+      && symbol_get_bfdsym (fixP->fx_addsy)->flags & BSF_GNU_INDIRECT_FUNCTION)
+    return 0;
 #endif
   return 1;
 }
This page took 0.024568 seconds and 4 git commands to generate.