Lines Matching refs:section
682 section = sect[datap:].split()[1]
685 error("Could not get type for sect: " + section +
688 header[section] = sh_type
695 def extract_elf_section(f, section) : argument
697 rc, data = getoutput(dump_cmd + " -sn " + section + " " + f)
700 error(dump_cmd + "yielded no data on section " + section +
720 def diff_elf_section(f1, f2, section, sh_type) : argument
729 elif (section == ".group") :
732 elif (section == ".hash") :
735 elif (section == ".dynamic") :
738 elif (section == ".got") :
741 elif (section == ".SUNW_cap") :
744 elif (section == ".interp") :
747 elif (section == ".symtab" or section == ".dynsym") :
748 cmd1 = (elfdump_cmd + " -s -N " + section + " " + f1 +
750 cmd2 = (elfdump_cmd + " -s -N " + section + " " + f2 +
752 elif (section in text_sections) :
757 cmd1 = (dis_cmd + " -t " + section + " " + f1 +
759 cmd2 = (dis_cmd + " -t " + section + " " + f2 +
763 section + " " + f1)
765 section + " " + f2)