aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
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 /bfd/mach-o.c
parentab273af8f12c6a3b7481ae89cfef372c87aeff31 (diff)
downloadbinutils-0c9b2b4cc65d1bee30d4e4b8ee715c7e90156fac.zip
binutils-0c9b2b4cc65d1bee30d4e4b8ee715c7e90156fac.tar.gz
binutils-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.
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 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);