Lines Matching refs:section
24 ebl_section_name (ebl, section, xsection, buf, len, scnnames, shnum) in ebl_section_name() argument
26 int section;
33 const char *res = ebl != NULL ? ebl->section_name (section, xsection,
38 if (section == SHN_UNDEF)
40 else if (section == SHN_ABS)
42 else if (section == SHN_COMMON)
44 else if (section == SHN_BEFORE)
46 else if (section == SHN_AFTER)
48 else if ((section < SHN_LORESERVE || section == SHN_XINDEX)
49 && (size_t) section < shnum)
51 int idx = section != SHN_XINDEX ? section : xsection;
64 if (section == SHN_XINDEX)
66 else if (section >= SHN_LOOS && section <= SHN_HIOS)
67 snprintf (buf, len, "LOOS+%x", section - SHN_LOOS);
69 else if (section >= SHN_LOPROC && section <= SHN_HIPROC)
70 snprintf (buf, len, "LOPROC+%x", section - SHN_LOPROC);
71 else if (section >= SHN_LORESERVE && section <= SHN_HIRESERVE)
72 snprintf (buf, len, "LORESERVE+%x", section - SHN_LORESERVE);
74 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), section);