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

@ -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.

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

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

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;