diff options
author | Iain Sandoe <iain@codesourcery.com> | 2012-01-03 13:18:48 +0000 |
---|---|---|
committer | Iain Sandoe <iain@codesourcery.com> | 2012-01-03 13:18:48 +0000 |
commit | 68588f95404f3301816c765ecd617a585ad50bac (patch) | |
tree | 0355ffbe588e48dcc701ba4c02613c91a8586546 /gas/config/obj-macho.h | |
parent | f2b324f1f929d4d72dcb7b390e56ac58d82e3b27 (diff) | |
download | gdb-68588f95404f3301816c765ecd617a585ad50bac.zip gdb-68588f95404f3301816c765ecd617a585ad50bac.tar.gz gdb-68588f95404f3301816c765ecd617a585ad50bac.tar.bz2 |
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.
Diffstat (limited to 'gas/config/obj-macho.h')
-rw-r--r-- | gas/config/obj-macho.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/obj-macho.h b/gas/config/obj-macho.h index d9b0b33..b2acd17 100644 --- a/gas/config/obj-macho.h +++ b/gas/config/obj-macho.h @@ -1,5 +1,5 @@ /* Mach-O object file format for gas, the assembler. - Copyright 2009, 2011 Free Software Foundation, Inc. + Copyright 2009, 2011, 2012 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -58,4 +58,7 @@ extern const pseudo_typeS mach_o_pseudo_table[]; #define EMIT_SECTION_SYMBOLS 0 +#define OBJ_PROCESS_STAB(SEG,W,S,T,O,D) obj_mach_o_process_stab(W,S,T,O,D) +extern void obj_mach_o_process_stab (int, const char *,int, int, int); + #endif /* _OBJ_MACH_O_H */ |