diff options
author | Saagar Jha <saagar@saagarjha.com> | 2020-06-22 14:29:20 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-06-22 14:29:20 +0100 |
commit | d768f160a99558a07a2463899c8bfeec0f0a67a7 (patch) | |
tree | 2b3ef7d7bfec36169e55316eff93481c6cfa6597 /include/mach-o | |
parent | 013e3554b269aa1da0fcd478969f0df65341e50e (diff) | |
download | gdb-d768f160a99558a07a2463899c8bfeec0f0a67a7.zip gdb-d768f160a99558a07a2463899c8bfeec0f0a67a7.tar.gz gdb-d768f160a99558a07a2463899c8bfeec0f0a67a7.tar.bz2 |
Recognize some new Mach-O load commands
bfd
* mach-o.c: Support the new load commands by reading a linkedit data
command for them.
binutils
* od-macho.c: Dump linkedit data for new load commands.
include
* mach-o/loader.h: Add declarations of two new Mach-O load
commands.
Diffstat (limited to 'include/mach-o')
-rw-r--r-- | include/mach-o/loader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mach-o/loader.h b/include/mach-o/loader.h index a34a894..47d4608 100644 --- a/include/mach-o/loader.h +++ b/include/mach-o/loader.h @@ -189,6 +189,8 @@ typedef enum bfd_mach_o_load_command_type BFD_MACH_O_LC_VERSION_MIN_WATCHOS = 0x30, /* Minimal watchOS version. */ BFD_MACH_O_LC_NOTE = 0x31, /* Region of arbitrary data. */ BFD_MACH_O_LC_BUILD_VERSION = 0x32, /* Generic build version. */ + BFD_MACH_O_LC_DYLD_EXPORTS_TRIE = 0x33, /* Exports trie. */ + BFD_MACH_O_LC_DYLD_CHAINED_FIXUPS = 0x34, /* Chained fixups. */ } bfd_mach_o_load_command_type; |