Lines Matching refs:sec
53 asection *sec;
120 sec = bfd_make_section_anyway (abfd, ".stack");
121 if (NULL == sec)
124 sec->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
125 sec->size = core.c_size;
126 sec->vma = core.c_stackorg;
127 sec->filepos = core.c_stack;
130 sec = bfd_make_section_anyway (abfd, ".reg");
131 if (NULL == sec)
134 sec->flags = SEC_HAS_CONTENTS | SEC_IN_MEMORY;
135 sec->size = sizeof (struct __context64);
136 sec->vma = 0;
137 sec->filepos = 0;
138 sec->contents = (bfd_byte *)&new_core_hdr->c_flt.r64;
144 sec = bfd_make_section_anyway (abfd, ".ldinfo");
145 if (NULL == sec)
148 sec->flags = SEC_HAS_CONTENTS;
149 sec->size = core.c_lsize;
150 sec->vma = 0;
151 sec->filepos = core.c_loader;
158 sec = bfd_make_section_anyway (abfd, ".data");
159 if (NULL == sec)
162 sec->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
163 sec->size = core.c_datasize;
164 sec->vma = core.c_dataorg;
165 sec->filepos = core.c_data;
181 sec = bfd_make_section_anyway (abfd, ".data");
182 if (NULL == sec)
185 sec->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
186 sec->size = ldinfo.ldinfo_datasize;
187 sec->vma = ldinfo.ldinfo_dataorg;
188 sec->filepos = ldinfo.ldinfo_core;
209 sec = bfd_make_section_anyway (abfd, ".vmdata");
210 if (NULL == sec)
213 sec->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
214 sec->size = vminfo.vminfo_size;
215 sec->vma = vminfo.vminfo_addr;
216 sec->filepos = vminfo.vminfo_offset;