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.
This commit is contained in:
parent
49f2e27ce4
commit
fbe383b9ee
4 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-03-17 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* mach-o.c (bfd_mach_o_read_dylib): Handle lazy load dylib.
|
||||
(bfd_mach_o_read_command): Ditto.
|
||||
|
||||
2014-03-14 Meador Inge <meadori@codesourcery.com>
|
||||
|
||||
* configure.in: Add strnlen to AC_CHECK_DECLS.
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue