bfd/
authorTristan Gingold <gingold@adacore.com>
Fri, 9 Oct 2009 15:33:39 +0000 (15:33 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 9 Oct 2009 15:33:39 +0000 (15:33 +0000)
2009-10-09  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH.
(bfd_mach_o_bfd_print_private_bfd_data): Ditto.

bfd/ChangeLog
bfd/mach-o.c

index a21ba814a5898e8de13ae028267778972d72c085..6237081ee155b13c2e3507506e8530c339cf97c6 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-09  Tristan Gingold  <gingold@adacore.com>
+
+       * mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH.
+       (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
+
 2009-10-09  Tristan Gingold  <gingold@adacore.com>
 
        * mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Rename to
index 19f58f3efce66ba88c4db0fff3aef9eaebc0a7f1..641fd9bd4439c32a1ef3ee057f00cc7f7bdd42e9 100644 (file)
@@ -2523,6 +2523,7 @@ bfd_mach_o_read_command (bfd *abfd, bfd_mach_o_load_command *command)
     case BFD_MACH_O_LC_SUB_UMBRELLA:
     case BFD_MACH_O_LC_SUB_LIBRARY:
     case BFD_MACH_O_LC_SUB_CLIENT:
+    case BFD_MACH_O_LC_RPATH:
       if (bfd_mach_o_read_str (abfd, command) != 0)
         return -1;
       break;
@@ -3788,6 +3789,7 @@ bfd_mach_o_bfd_print_private_bfd_data (bfd *abfd, PTR ptr)
         case BFD_MACH_O_LC_SUB_UMBRELLA:
         case BFD_MACH_O_LC_SUB_LIBRARY:
         case BFD_MACH_O_LC_SUB_CLIENT:
+        case BFD_MACH_O_LC_RPATH:
          {
            bfd_mach_o_str_command *str = &cmd->command.str;
            fprintf (file, " %s\n", str->str);