aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-09-16 13:30:32 +0000
committerTristan Gingold <gingold@adacore.com>2009-09-16 13:30:32 +0000
commitafecc97cf6abc6df07f613b0247afe71d48f7092 (patch)
tree0f67996e43d91518cf8f797acb5c7eb6d2c17e5b /bfd/mach-o.h
parent5cca3659ec807cd5df9c685addbd6e8642665d93 (diff)
downloadgdb-afecc97cf6abc6df07f613b0247afe71d48f7092.zip
gdb-afecc97cf6abc6df07f613b0247afe71d48f7092.tar.gz
gdb-afecc97cf6abc6df07f613b0247afe71d48f7092.tar.bz2
2009-09-16 Tristan Gingold <gingold@adacore.com>
* mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10. Reindent. * mach-o.c (bfd_mach_o_cpu_name): Reindent. (bfd_mach_o_filetype_name): Complete with new constants. Reindent. (bfd_mach_o_print_private_header): Use fputs instead of fprintf when possible to avoid warnings. (bfd_mach_o_print_section_map): Ditto. (bfd_mach_o_section_get_entry_size): New function. (bfd_mach_o_section_get_nbr_indirect): Simplify using the newly added function. (bfd_mach_o_print_dysymtab): Print address of indirect symbols.
Diffstat (limited to 'bfd/mach-o.h')
-rw-r--r--bfd/mach-o.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/bfd/mach-o.h b/bfd/mach-o.h
index c1831e4..b86fe07 100644
--- a/bfd/mach-o.h
+++ b/bfd/mach-o.h
@@ -166,14 +166,17 @@ bfd_mach_o_cpu_subtype;
typedef enum bfd_mach_o_filetype
{
- BFD_MACH_O_MH_OBJECT = 1,
- BFD_MACH_O_MH_EXECUTE = 2,
- BFD_MACH_O_MH_FVMLIB = 3,
- BFD_MACH_O_MH_CORE = 4,
- BFD_MACH_O_MH_PRELOAD = 5,
- BFD_MACH_O_MH_DYLIB = 6,
- BFD_MACH_O_MH_DYLINKER = 7,
- BFD_MACH_O_MH_BUNDLE = 8
+ BFD_MACH_O_MH_OBJECT = 0x01,
+ BFD_MACH_O_MH_EXECUTE = 0x02,
+ BFD_MACH_O_MH_FVMLIB = 0x03,
+ BFD_MACH_O_MH_CORE = 0x04,
+ BFD_MACH_O_MH_PRELOAD = 0x05,
+ BFD_MACH_O_MH_DYLIB = 0x06,
+ BFD_MACH_O_MH_DYLINKER = 0x07,
+ BFD_MACH_O_MH_BUNDLE = 0x08,
+ BFD_MACH_O_MH_DYLIB_STUB = 0x09,
+ BFD_MACH_O_MH_DSYM = 0x0a,
+ BFD_MACH_O_MH_KEXT_BUNDLE = 0x0b
}
bfd_mach_o_filetype;