summaryrefslogtreecommitdiff
path: root/bfd/mach-o.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-01-04 10:37:34 +0000
committerTristan Gingold <gingold@adacore.com>2012-01-04 10:37:34 +0000
commit286ab76684c1fa044fe41ed7da7efb0e5025ee24 (patch)
tree415a0021754f1ddcab4be8b2eec3661d96f6d9a4 /bfd/mach-o.h
parent339c5f9841cdb634259fa1b6f1b10a3436684ca5 (diff)
downloadgdb-286ab76684c1fa044fe41ed7da7efb0e5025ee24.tar.gz
bfd/
2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.h (bfd_mach_o_fvmlib_command): New structure. (bfd_mach_o_load_command): Add fvmlib field. * mach-o.c (bfd_mach_o_read_fvmlib): New function. (bfd_mach_o_read_command): Handle fvmlib. binutils/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * od-macho.c (dump_load_command): Handle fvmlib. include/mach-o/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * external.h (mach_o_fvmlib_command_external): New structure.
Diffstat (limited to 'bfd/mach-o.h')
-rw-r--r--bfd/mach-o.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/mach-o.h b/bfd/mach-o.h
index b32b6a8962f..123eddafef9 100644
--- a/bfd/mach-o.h
+++ b/bfd/mach-o.h
@@ -450,6 +450,16 @@ typedef struct bfd_mach_o_str_command
}
bfd_mach_o_str_command;
+typedef struct bfd_mach_o_fvmlib_command
+{
+ unsigned int name_offset;
+ unsigned int name_len;
+ char *name_str;
+ unsigned int minor_version;
+ unsigned int header_addr;
+}
+bfd_mach_o_fvmlib_command;
+
typedef struct bfd_mach_o_dyld_info_command
{
/* File offset and size to rebase info. */
@@ -512,6 +522,7 @@ typedef struct bfd_mach_o_load_command
bfd_mach_o_dyld_info_command dyld_info;
bfd_mach_o_version_min_command version_min;
bfd_mach_o_encryption_info_command encryption_info;
+ bfd_mach_o_fvmlib_command fvmlib;
}
command;
}