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.
This commit is contained in:
Tristan Gingold
2015-12-03 11:56:09 +01:00
parent 06cc42316c
commit b4687fcc2b
4 changed files with 16 additions and 1 deletions

View 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;