support stabs on mach-o GAS.
commita4ec1ff0dfe1893f282ee73beea33fe68439774b
authoriains <iains>
Tue, 3 Jan 2012 13:18:46 +0000 (3 13:18 +0000)
committeriains <iains>
Tue, 3 Jan 2012 13:18:46 +0000 (3 13:18 +0000)
tree8892ffb9e3b90152e8de3df1156c64e088cca29b
parentb329ed8a6a2aef722ed2a017fb99016662177678
support stabs on mach-o GAS.

bfd:

* mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index
for stabd symbols.
(bfd_mach_o_primary_symbol_sort_key): Adjust for stabs.
(bfd_mach_o_cf_symbols): Likewise.

gas:

* config/obj-macho.c (obj_macho_process_stab): New.
* config/obj-macho.h (OBJ_PROCESS_STAB): Define.
(obj_macho_process_stab): Declare.
bfd/ChangeLog
bfd/mach-o.c
gas/ChangeLog
gas/config/obj-macho.c
gas/config/obj-macho.h