aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-10-09 15:33:39 +0000
committerTristan Gingold <gingold@adacore.com>2009-10-09 15:33:39 +0000
commit0c9b2b4cc65d1bee30d4e4b8ee715c7e90156fac (patch)
tree82fd613061ec0a070521d08d04d28662ff8fa467
parentab273af8f12c6a3b7481ae89cfef372c87aeff31 (diff)
downloadgdb-0c9b2b4cc65d1bee30d4e4b8ee715c7e90156fac.zip
gdb-0c9b2b4cc65d1bee30d4e4b8ee715c7e90156fac.tar.gz
gdb-0c9b2b4cc65d1bee30d4e4b8ee715c7e90156fac.tar.bz2
bfd/
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/mach-o.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a21ba81..6237081 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
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
bfd_mach_o_read_symtab_symbols.
(bfd_mach_o_scan_write_thread): Rename to bfd_mach_o_write_thread.
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 19f58f3..641fd9b 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -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);