aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/mach-o-i386.c')
-rw-r--r--bfd/mach-o-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/mach-o-i386.c b/bfd/mach-o-i386.c
index f600c01..02e467b 100644
--- a/bfd/mach-o-i386.c
+++ b/bfd/mach-o-i386.c
@@ -50,7 +50,7 @@ bfd_mach_o_i386_mkobject (bfd *abfd)
if (!bfd_mach_o_mkobject_init (abfd))
return FALSE;
- mdata = abfd->tdata.mach_o_data;
+ mdata = bfd_mach_o_get_data (abfd);
mdata->header.magic = BFD_MACH_O_MH_MAGIC;
mdata->header.cputype = BFD_MACH_O_CPU_TYPE_I386;
mdata->header.cpusubtype = BFD_MACH_O_CPU_SUBTYPE_X86_ALL;