aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.h
diff options
context:
space:
mode:
authorTristan Gingold <tristan.gingold@adacore.com>2014-04-09 10:15:50 +0200
committerTristan Gingold <tristan.gingold@adacore.com>2014-04-18 12:23:31 +0200
commit4525c51ab02e6fdd29017d353e5decaceaeb1000 (patch)
tree7b3e70582273b1dae5063ce58b875a0de781b45c /bfd/mach-o.h
parent51d481464ec03be1f5479ed648cc38fb944d7fc0 (diff)
downloadgdb-4525c51ab02e6fdd29017d353e5decaceaeb1000.zip
gdb-4525c51ab02e6fdd29017d353e5decaceaeb1000.tar.gz
gdb-4525c51ab02e6fdd29017d353e5decaceaeb1000.tar.bz2
mach-o: remove name_len field.
bfd/ * mach-o.h (bfd_mach_o_dylinker_command) (bfd_mach_o_dylib_command, bfd_mach_o_fvmlib_command): Remove name_len field. * mach-o.c (bfd_mach_o_read_dylinker, bfd_mach_o_read_dylib) (bfd_mach_o_read_fvmlib): Adjust after name_len removal.
Diffstat (limited to 'bfd/mach-o.h')
-rw-r--r--bfd/mach-o.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/bfd/mach-o.h b/bfd/mach-o.h
index 95827e8..47b1bc5 100644
--- a/bfd/mach-o.h
+++ b/bfd/mach-o.h
@@ -418,8 +418,7 @@ bfd_mach_o_thread_command;
typedef struct bfd_mach_o_dylinker_command
{
- unsigned long name_offset; /* Offset to library's path name. */
- unsigned long name_len; /* Offset to library's path name. */
+ unsigned int name_offset; /* Offset to library's path name. */
char *name_str;
}
bfd_mach_o_dylinker_command;
@@ -429,8 +428,7 @@ bfd_mach_o_dylinker_command;
typedef struct bfd_mach_o_dylib_command
{
- unsigned long name_offset; /* Offset to library's path name. */
- unsigned long name_len; /* Offset to library's path name. */
+ unsigned int name_offset; /* Offset to library's path name. */
unsigned long timestamp; /* Library's build time stamp. */
unsigned long current_version; /* Library's current version number. */
unsigned long compatibility_version; /* Library's compatibility vers number. */
@@ -479,7 +477,6 @@ 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;