Home | History | Annotate | Download | only in libiberty

Lines Matching defs:external_filehdr

49 struct external_filehdr
301 unsigned char hdrbuf[sizeof (struct external_filehdr)];
326 ocr->nscns = fetch_16 (hdrbuf + offsetof (struct external_filehdr, f_nscns));
330 + offsetof (struct external_filehdr,
332 ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr,
334 ocr->scnhdr_offset = (sizeof (struct external_filehdr)
335 + fetch_16 (hdrbuf + offsetof (struct external_filehdr,
342 + offsetof (struct external_filehdr,
344 ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr,
346 ocr->scnhdr_offset = (sizeof (struct external_filehdr) - 4
347 + fetch_16 (hdrbuf + offsetof (struct external_filehdr,
579 unsigned char hdrbuf[sizeof (struct external_filehdr)];
591 memset (hdr, 0, sizeof (struct external_filehdr));
593 set_16 (hdr + offsetof (struct external_filehdr, f_magic), attrs->magic);
594 set_16 (hdr + offsetof (struct external_filehdr, f_nscns), nscns);
598 set_64 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr),
600 external_filehdr, u.xcoff64.f_nsyms),
603 set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags),
608 set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr),
610 set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms),
613 set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags),
618 sizeof (struct external_filehdr),
731 scnhdr_offset = sizeof (struct external_filehdr) - (u64 ? 4 : 0);