aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/mach-o/ChangeLog5
-rw-r--r--include/mach-o/loader.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/include/mach-o/ChangeLog b/include/mach-o/ChangeLog
index b33a069..e33fd55 100644
--- a/include/mach-o/ChangeLog
+++ b/include/mach-o/ChangeLog
@@ -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.
diff --git a/include/mach-o/loader.h b/include/mach-o/loader.h
index 6838c39..045e315 100644
--- a/include/mach-o/loader.h
+++ b/include/mach-o/loader.h
@@ -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;