aboutsummaryrefslogtreecommitdiff
path: root/binutils
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 /binutils
parent49f2e27ce40a556955e70b6fa70ac6d17d6756de (diff)
downloadgdb-fbe383b9ee1b597e294ee41b795308d504fd09f5.zip
gdb-fbe383b9ee1b597e294ee41b795308d504fd09f5.tar.gz
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 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/od-macho.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index bf8d150..7f212dd 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-17 Tristan Gingold <gingold@adacore.com>
+
+ * od-macho.c (dump_load_command): Handle lazy load dylib.
+
2014-03-14 Anthony Green <green@moxielogic.com>
* objcopy.c (copy_object): Check fwrite return code.
diff --git a/binutils/od-macho.c b/binutils/od-macho.c
index b97db04..45a0beb 100644
--- a/binutils/od-macho.c
+++ b/binutils/od-macho.c
@@ -938,6 +938,7 @@ dump_load_command (bfd *abfd, bfd_mach_o_load_command *cmd,
}
break;
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_REEXPORT_DYLIB:
case BFD_MACH_O_LC_ID_DYLIB: