https://sourceware.org/bugzilla/show_bug.cgi?id=29718
Bug ID: 29718 Summary: readelf prints out "<OS specific>: 10" instead of "IFUNC" Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: rui314 at gmail dot com Target Milestone: --- readelf doesn't pretty print symbol type of STT_GNU_IFUNC unless ELF header's EI_OSABI is set to ELFOSABI_GNU. Instead of "IFUNC", it prints out "<OS specific>:10". Technically, GNU IFUNC is indeed a GNU extension, but all systems I know of do not require EI_OSABI to be set to ELFOSABI_GNU, so it is effectively a globally-reserved number. Given the situation, LLVM lld and mold do not bother to set EI_OSABI. Could you make a change to readelf so that it always pretty-prints symbol type 10 for all ELF OSABIs? -- You are receiving this mail because: You are on the CC list for the bug.