support stabs on mach-o GAS.
authorIain Sandoe <iain@codesourcery.com>
Tue, 3 Jan 2012 13:18:48 +0000 (13:18 +0000)
committerIain Sandoe <iain@codesourcery.com>
Tue, 3 Jan 2012 13:18:48 +0000 (13:18 +0000)
commit68588f95404f3301816c765ecd617a585ad50bac
tree0355ffbe588e48dcc701ba4c02613c91a8586546
parentf2b324f1f929d4d72dcb7b390e56ac58d82e3b27
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