aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-01-04 10:37:36 +0000
committerTristan Gingold <gingold@adacore.com>2012-01-04 10:37:36 +0000
commit9f4a5bd19a3650f6a73d939262aee7f958754b6e (patch)
tree9c3048da824e6d0f2d118fdcf8ded158fe2fa4f2 /bfd/mach-o.h
parent0b2de107050237af9ccb6a2bd59070e9ac336b96 (diff)
downloadgdb-9f4a5bd19a3650f6a73d939262aee7f958754b6e.zip
gdb-9f4a5bd19a3650f6a73d939262aee7f958754b6e.tar.gz
gdb-9f4a5bd19a3650f6a73d939262aee7f958754b6e.tar.bz2
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 b32b6a8..123edda 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;
}