Darwin: add new mach-o header flags.
authorTristan Gingold <gingold@adacore.com>
Thu, 3 Dec 2015 10:56:09 +0000 (11:56 +0100)
committerTristan Gingold <gingold@adacore.com>
Thu, 3 Dec 2015 11:00:50 +0000 (12:00 +0100)
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.

binutils/ChangeLog
binutils/od-macho.c
include/mach-o/ChangeLog
include/mach-o/loader.h

index 28fe37ed83e8fad7655e9fddcca2ee36d78e5f59..feeb4055b45627526ad42397321b88932846786f 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-03  Tristan Gingold  <gingold@adacore.com>
+
+       * od-macho.c (bfd_mach_o_header_flags_name): Add name
+       for flags until BFD_MACH_O_MH_APP_EXTENSION_SAFE.
+
 2015-12-01  Alan Modra  <amodra@gmail.com>
 
        * configure: Regenerate.
index cb04409632a66e8e16ff09175aaad8ac3df19600..0a718c0b5fd2d50c3af02a25f0703ddba6b412b2 100644 (file)
@@ -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}
 };
 
index b33a0697e22142015be12c31c26b3b206c848eea..e33fd551916de60546fbf1debff1ec51269f689f 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-03  Tristan Gingold  <gingold@adacore.com>
+
+       * loader.h (bfd_mach_o_header_flags): Add
+       BFD_MACH_O_MH_APP_EXTENSION_SAFE.
+
 2015-11-17  Tristan Gingold  <gingold@adacore.com>
 
        * arm64.h: New file.
index 6838c39d06baf3391ae1c7979866e5f68546d488..045e315a407e927622e98f0d374d34ae3d012104 100644 (file)
@@ -125,7 +125,8 @@ typedef enum bfd_mach_o_header_flags
   BFD_MACH_O_MH_PIE                    = 0x0200000,
   BFD_MACH_O_MH_DEAD_STRIPPABLE_DYLIB   = 0x0400000,
   BFD_MACH_O_MH_HAS_TLV_DESCRIPTORS     = 0x0800000,
-  BFD_MACH_O_MH_NO_HEAP_EXECUTION       = 0x1000000
+  BFD_MACH_O_MH_NO_HEAP_EXECUTION       = 0x1000000,
+  BFD_MACH_O_MH_APP_EXTENSION_SAFE      = 0x2000000
 }
 bfd_mach_o_header_flags;
 \f