Lines Matching refs:asect
95 sec_ptr asect; local
244 asect = bfd_make_section_anyway (abfd, ".data");
245 if (asect == NULL)
247 asect->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
249 asect->size = statbuf.st_size;
250 asect->vma = rambase;
251 asect->filepos = 0;
256 asect = bfd_make_section_anyway (abfd, ".crash");
257 if (asect == NULL)
259 asect->flags = SEC_HAS_CONTENTS;
260 asect->vma = 0;
261 asect->filepos = crashinfo_offset;
262 asect->size = sizeof (crashinfo);
267 asect = bfd_make_section_anyway (abfd, ".reg");
268 if (asect == NULL)
270 asect->flags = SEC_HAS_CONTENTS;
271 asect->vma = 0;
272 asect->filepos = bfd_get_32 (abfd, crashinfo.registers) - rambase;
276 nread = statbuf.st_size - asect->filepos;
277 asect->size = (nread < 1024) ? nread : 1024;