File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12724,9 +12724,6 @@ get_symbol_type (Filedata * filedata, unsigned int type)
1272412724 case STT_TLS: return "TLS";
1272512725 case STT_RELC: return "RELC";
1272612726 case STT_SRELC: return "SRELC";
12727- case STT_GNU_IFUNC: return "IFUNC"; /* As mentioned in PR29718, do not
12728- require EI_OSABI as IFUNC is
12729- a reseved name. */
1273012727 default:
1273112728 if (type >= STT_LOPROC && type <= STT_HIPROC)
1273212729 {
@@ -12751,6 +12748,11 @@ get_symbol_type (Filedata * filedata, unsigned int type)
1275112748 return "HP_STUB";
1275212749 }
1275312750
12751+ if (type == STT_GNU_IFUNC
12752+ && (filedata->file_header.e_ident[EI_OSABI] == ELFOSABI_GNU
12753+ || filedata->file_header.e_ident[EI_OSABI] == ELFOSABI_FREEBSD))
12754+ return "IFUNC";
12755+
1275412756 snprintf (buff, sizeof (buff), _("<OS specific>: %d"), type);
1275512757 }
1275612758 else
You can’t perform that action at this time.
0 commit comments