Hardeep Singh <hardy_hardeep@xxxxxxxxxxx> writes: > Your hint made me look into the symbol information exposed by a > library. I found out that by giving -rdynamic flag to the linker while > building the application, resolved the problem. It includes the > dynamic symbol information into the executable. See below the > email. For this sample program it does increase the executable size by > 500 bytes. > > Can someone comment on cons of passing this flag to the linker. > Does it increase search time in look-up tables? Probably not. The dynamic linker uses a hash table to look up symbols. Adding symbol may increase the size of the hash table, but in general the effect on lookup time should be small. > Should i even worry about it ? No. Ian