* config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
any local symbol used as an indirect.
+2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
+
+ * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
+ any local symbol used as an indirect.
+
2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
* config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
}
*input_line_pointer = c;
+ /* The indirect symbols are validated after the symbol table is
+ frozen, we must make sure that if a local symbol is used as an
+ indirect, it is promoted to a 'real' one. Fetching the bfd sym
+ achieves this. */
+ symbol_get_bfdsym (sym);
isym = (obj_mach_o_indirect_sym *)
xmalloc (sizeof (obj_mach_o_indirect_sym));