aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
diff options
context:
space:
mode:
authorSaagar Jha <saagar@saagarjha.com>2020-06-22 14:29:20 +0100
committerNick Clifton <nickc@redhat.com>2020-06-22 14:29:20 +0100
commitd768f160a99558a07a2463899c8bfeec0f0a67a7 (patch)
tree2b3ef7d7bfec36169e55316eff93481c6cfa6597 /bfd/mach-o.c
parent013e3554b269aa1da0fcd478969f0df65341e50e (diff)
downloadgdb-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 'bfd/mach-o.c')
-rw-r--r--bfd/mach-o.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 43fa56c..f285305 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -5017,6 +5017,8 @@ bfd_mach_o_read_command (bfd *abfd, bfd_mach_o_load_command *command,
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;