+2020-06-22 Saagar Jha <saagar@saagarjha.com>
+
+ * mach-o.c: Support the new load commands by reading a linkedit
+ data command for them.
+
2020-06-22 Nelson Chu <nelson.chu@sifive.com>
* elfxx-riscv.c (struct priv_spec_t priv_specs[]): Move them from
case BFD_MACH_O_LC_DATA_IN_CODE:
case BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS:
case BFD_MACH_O_LC_LINKER_OPTIMIZATION_HINT:
+ case BFD_MACH_O_LC_DYLD_EXPORTS_TRIE:
+ case BFD_MACH_O_LC_DYLD_CHAINED_FIXUPS:
if (!bfd_mach_o_read_linkedit (abfd, command))
return FALSE;
break;
+2020-06-22 Saagar Jha <saagar@saagarjha.com>
+
+ * od-macho.c: Dump linkedit data for new load commands.
+
2020-06-19 Alan Modra <amodra@gmail.com>
* testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
{ "version_min_watchos", BFD_MACH_O_LC_VERSION_MIN_WATCHOS},
{ "note", BFD_MACH_O_LC_NOTE},
{ "build_version", BFD_MACH_O_LC_BUILD_VERSION},
+ { "exports_trie", BFD_MACH_O_LC_DYLD_EXPORTS_TRIE},
+ { "chained_fixups", BFD_MACH_O_LC_DYLD_CHAINED_FIXUPS},
{ NULL, 0}
};
case BFD_MACH_O_LC_FUNCTION_STARTS:
case BFD_MACH_O_LC_DATA_IN_CODE:
case BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS:
+ case BFD_MACH_O_LC_DYLD_EXPORTS_TRIE:
+ case BFD_MACH_O_LC_DYLD_CHAINED_FIXUPS:
{
bfd_mach_o_linkedit_command *linkedit = &cmd->command.linkedit;
printf
+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
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;
\f