This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linker plugin api limitation


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]