summaryrefslogtreecommitdiff
blob: 2308e667ddc8aaf39a9acefb1b9b289e149389e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- bfd/aix5ppc-core.c
+++ bfd/aix5ppc-core.c
@@ -117,7 +117,7 @@
     return return_value;
 
   memcpy (new_core_hdr, &core, sizeof (struct core_dumpxx));
-  core_hdr(abfd) = (char *)new_core_hdr;
+  abfd->tdata.any = (char *)new_core_hdr;
 
   /* .stack section.  */
   sec = bfd_make_section_anyway (abfd, ".stack");