Lines Matching refs:asect
93 sec_ptr asect; in cisco_core_file_validate() local
244 asect = bfd_make_section_anyway_with_flags (abfd, ".data", flags); in cisco_core_file_validate()
245 if (asect == NULL) in cisco_core_file_validate()
248 asect->size = statbuf.st_size; in cisco_core_file_validate()
249 asect->vma = rambase; in cisco_core_file_validate()
250 asect->filepos = 0; in cisco_core_file_validate()
256 asect = bfd_make_section_anyway_with_flags (abfd, ".crash", flags); in cisco_core_file_validate()
257 if (asect == NULL) in cisco_core_file_validate()
259 asect->vma = 0; in cisco_core_file_validate()
260 asect->filepos = crashinfo_offset; in cisco_core_file_validate()
261 asect->size = sizeof (crashinfo); in cisco_core_file_validate()
266 asect = bfd_make_section_anyway_with_flags (abfd, ".reg", flags); in cisco_core_file_validate()
267 if (asect == NULL) in cisco_core_file_validate()
269 asect->vma = 0; in cisco_core_file_validate()
270 asect->filepos = bfd_get_32 (abfd, crashinfo.registers) - rambase; in cisco_core_file_validate()
274 nread = statbuf.st_size - asect->filepos; in cisco_core_file_validate()
275 asect->size = (nread < 1024) ? nread : 1024; in cisco_core_file_validate()