This is the mail archive of the binutils@sources.redhat.com 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]

Slow linker with shared C++ libraries


If a shared C++ library has many weak data definitions and many
symbols, linking against such libraries can be very slow since
elf_link_add_object_symbols has to go through all symbols for
each referenced weak data definition to search for its aliases,
although in most cases there is no alias. What is the best way
to speed it up? Can we introduce a linker command not to check
aliase for a DSO?


H.J.


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