Lines Matching refs:section
165 // obtain a 32 bit destructor section for C++ objects, and call each of the
170 struct section * section;
172 for (section = firstsect(segment);
173 section != 0;
174 section = nextsect(segment, section)) {
176 if (strcmp(section->sectname, "__destructor") == 0) {
177 structor_t * destructors = (structor_t *)section->addr;
180 int num_destructors = section->size / sizeof(structor_t);
187 } /* for (section...) */
265 struct section * section;
271 for (section = firstsect(segment);
272 section != 0 && load_success;
273 section = nextsect(segment, section)) {
275 if (strcmp(section->sectname, "__constructor") == 0) {
276 structor_t * constructors = (structor_t *)section->addr;
280 // section names are unique within a segment?
282 int num_constructors = section->size / sizeof(structor_t);
295 section->segname);
302 } /* for (section...) */