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 | |
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')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/mach-o/loader.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 65e8af8..12467f8 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2020-06-22 Saagar Jha <saagar@saagarjha.com> + + * mach-o/loader.h: Add declarations of two new Mach-O load + commands. + 2020-06-22 Nelson Chu <nelson.chu@sifive.com> * opcode/riscv.h (riscv_get_priv_spec_class): Move the function 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; |