Lines Matching defs:section
160 // Take a look at the .note.ABI section.
165 // Get the first section
166 Elf_Scn *section = elf_getscn(elf, sec_idx);
169 while (section && op_sys == UnknownOpSys) {
171 gelf_getshdr(section, &shdr);
176 // we have found a ABI note section
179 Elf_Data *raw_data = elf_rawdata(section, NULL);
199 } // if section found
205 section = elf_getscn(elf, ++sec_idx);
307 // Get the first section
308 Elf_Scn *section = elf_getscn(elf, sec_idx);
311 while (section) {
313 gelf_getshdr(section, &shdr);
332 section = elf_getscn(elf, ++sec_idx);
351 // Check to see if this segment contains the bss section.
417 // Get the first section
419 Elf_Scn *section = elf_getscn(elf, sec_idx);
423 while (section != NULL) {
425 gelf_getshdr(section, &shdr);
429 Elf_Data *data = elf_getdata(section, NULL);
450 section = elf_getscn(elf, sec_idx);
538 // Get the first section
540 Elf_Scn *section = elf_getscn(elf, sec_idx);
543 while (section) {
545 gelf_getshdr(section, &shdr);
547 section = elf_getscn(elf, ++sec_idx);