aboutsummaryrefslogtreecommitdiff
path: root/binutils/od-macho.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2015-12-03 11:56:09 +0100
committerTristan Gingold <gingold@adacore.com>2015-12-03 12:00:50 +0100
commitb4687fcc2bfb7e72bd34aed19490d0afe0fd9c2c (patch)
tree11c5057e09f5336afa0fbb7b79edb57ebaa93439 /binutils/od-macho.c
parent06cc42316cde28e082b37216787361f2d87a078d (diff)
downloadgdb-b4687fcc2bfb7e72bd34aed19490d0afe0fd9c2c.zip
gdb-b4687fcc2bfb7e72bd34aed19490d0afe0fd9c2c.tar.gz
gdb-b4687fcc2bfb7e72bd34aed19490d0afe0fd9c2c.tar.bz2
Darwin: add new mach-o header flags.
binutils/ * od-macho.c (bfd_mach_o_header_flags_name): Add name for flags until BFD_MACH_O_MH_APP_EXTENSION_SAFE. include/mach-o/ * loader.h (bfd_mach_o_header_flags): Add BFD_MACH_O_MH_APP_EXTENSION_SAFE.
Diffstat (limited to 'binutils/od-macho.c')
-rw-r--r--binutils/od-macho.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/od-macho.c b/binutils/od-macho.c
index cb04409..0a718c0 100644
--- a/binutils/od-macho.c
+++ b/binutils/od-macho.c
@@ -155,6 +155,10 @@ static const bfd_mach_o_xlat_name bfd_mach_o_header_flags_name[] =
{ "setuid_safe", BFD_MACH_O_MH_SETUID_SAFE },
{ "no_reexported_dylibs", BFD_MACH_O_MH_NO_REEXPORTED_DYLIBS },
{ "pie", BFD_MACH_O_MH_PIE },
+ { "dead_strippable_dylib", BFD_MACH_O_MH_DEAD_STRIPPABLE_DYLIB },
+ { "has_tlv", BFD_MACH_O_MH_HAS_TLV_DESCRIPTORS },
+ { "no_heap_execution", BFD_MACH_O_MH_NO_HEAP_EXECUTION },
+ { "app_extension_safe", BFD_MACH_O_MH_APP_EXTENSION_SAFE },
{ NULL, 0}
};