This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: target/3925: [ARM/Thumb] Assembler chokes on branches with (PLT)



pb@nexus.co.uk said:
> My point was that there are cases where people want to build a "shared
> object" (in the sense of "gcc -shared") but don't ever intend to have
> more than one copy of it resident in memory at once.  In that
> situation, having relocations in the text section is sometimes
> acceptable for the sake of saving the time and space that is required
> for the PLT. 

I think that would be better done by adding some sort of import-list 
support to the linker.  Then only symbols in the import list would need to 
go through a PLT, and all others could be resolved internally.  For 
compatible behaviour of course, no import list would imply that all 
symbols are potentially imported.

R.


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