aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
diff options
context:
space:
mode:
authorTristan Gingold <tristan.gingold@adacore.com>2014-03-17 09:46:07 +0100
committerTristan Gingold <tristan.gingold@adacore.com>2014-03-17 10:14:23 +0100
commitfbe383b9ee1b597e294ee41b795308d504fd09f5 (patch)
treed2579763f2e7cb11a236677c6017c214d5ce523a /bfd/mach-o.c
parent49f2e27ce40a556955e70b6fa70ac6d17d6756de (diff)
downloadfsf-binutils-gdb-fbe383b9ee1b597e294ee41b795308d504fd09f5.zip
fsf-binutils-gdb-fbe383b9ee1b597e294ee41b795308d504fd09f5.tar.gz
fsf-binutils-gdb-fbe383b9ee1b597e294ee41b795308d504fd09f5.tar.bz2
mach-o: handle lasz load dylib command.
bfd/ * mach-o.c (bfd_mach_o_read_dylib): Handle lazy load dylib. (bfd_mach_o_read_command): Ditto. binutils/ * od-macho.c (dump_load_command): Handle lazy load dylib.
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 da7f87d..c77520a 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -3172,6 +3172,7 @@ bfd_mach_o_read_dylib (bfd *abfd, bfd_mach_o_load_command *command)
switch (command->type)
{
case BFD_MACH_O_LC_LOAD_DYLIB:
+ case BFD_MACH_O_LC_LAZY_LOAD_DYLIB:
case BFD_MACH_O_LC_LOAD_WEAK_DYLIB:
case BFD_MACH_O_LC_ID_DYLIB:
case BFD_MACH_O_LC_REEXPORT_DYLIB:
@@ -3841,6 +3842,7 @@ bfd_mach_o_read_command (bfd *abfd, bfd_mach_o_load_command *command)
return -1;
break;
case BFD_MACH_O_LC_LOAD_DYLIB:
+ case BFD_MACH_O_LC_LAZY_LOAD_DYLIB:
case BFD_MACH_O_LC_ID_DYLIB:
case BFD_MACH_O_LC_LOAD_WEAK_DYLIB:
case BFD_MACH_O_LC_REEXPORT_DYLIB: