Lines Matching refs:abfd

71 aix386_core_file_p (abfd)
72 bfd *abfd;
85 if (bfd_bread ((PTR) longbuf, amt, abfd) != amt)
95 if (bfd_seek (abfd, (file_ptr) 0, 0) != 0)
99 mergem = (struct mergem *) bfd_zalloc (abfd, amt);
105 if ((bfd_bread ((PTR) core, core_size, abfd)) != core_size)
110 bfd_release (abfd, (char *) mergem);
111 abfd->tdata.any = NULL;
112 bfd_section_list_clear (abfd);
116 set_tdata (abfd, &mergem->coredata);
117 core_hdr (abfd) = core;
120 core_regsec (abfd) = bfd_make_section_anyway (abfd, ".reg");
121 if (core_regsec (abfd) == NULL)
124 core_regsec (abfd)->flags = SEC_HAS_CONTENTS;
125 core_regsec (abfd)->size = sizeof (core->cd_regs);
126 core_regsec (abfd)->vma = (bfd_vma) -1;
129 core_regsec (abfd)->filepos =
132 core_reg2sec (abfd) = bfd_make_section_anyway (abfd, ".reg2");
133 if (core_reg2sec (abfd) == NULL)
137 core_reg2sec (abfd)->flags = SEC_HAS_CONTENTS;
138 core_reg2sec (abfd)->size = sizeof (core->cd_fpregs);
139 core_reg2sec (abfd)->vma = (bfd_vma) -1;
140 core_reg2sec (abfd)->filepos =
178 core_section (abfd, n) = bfd_make_section_anyway (abfd, sname);
179 if (core_section (abfd, n) == NULL)
182 core_section (abfd, n)->flags = flags;
183 core_section (abfd, n)->size = core->cd_segs[i].cs_len;
184 core_section (abfd, n)->vma = core->cd_segs[i].cs_address;
185 core_section (abfd, n)->filepos = core->cd_segs[i].cs_offset;
186 core_section (abfd, n)->alignment_power = 2;
190 return abfd->xvec;
194 aix386_core_file_failing_command (abfd)
195 bfd *abfd;
197 return core_hdr (abfd)->cd_comm;
201 aix386_core_file_failing_signal (abfd)
202 bfd *abfd;
204 return core_hdr (abfd)->cd_cursig;