On 3/23/20 11:35 AM, Jakub Jelinek wrote:
I don't think so. That is about the target, but you care about the host.
I see.
Wouldn't it be much easier not to do this and simply use macros for bits from the full 32-bit value (and use shifts)?
That would make the current small hack even bigger. Note that plugin-api.h provides reasonable ways how to extend the API. That said, I incline to implement lto_plugin_symbols_v2 and use it in the corresponding function add_symbols_v2. @Richi: Can you please express your opinion? Thanks, Martin