linker plugin api limitation

Rafael EspĂ­ndola rafael.espindola@gmail.com
Mon Feb 22 18:55:00 GMT 2016
> So you want to ask plugin what symbols are defined in an IR
> file without symbol resolution, similar to AR?

The linker has to ask the plugin which symbols are defined. The symbol
resolution happens in the linker without plugin involvement.
The reason AR avoids the problem is that it can simply never call
all_symbols_read hook, which is not an option for a linker.

Cheers,
Rafael



More information about the Binutils mailing list