STT_IFUNC is defined in OS-specific range: #define STT_LOOS 10 /* OS-specific semantics */ #define STT_IFUNC 10 /* Symbol is an indirect code object */ #define STT_HIOS 12 /* OS-specific semantics */ It should be STT_GNU_IFUNC. Unless everyone agrees it should be 7, which is generic to all OSes, it should be renamed to STT_GNU_IFUNC.
Hi H.J. You are correct, the value should be 7. I have removed the STT_IFUNC support in binutils (for now), but should the feature be officially approved I will re-add the support, with the correct value for STT_IFUNC. Cheers Nick