Re: Switching between interfaces without knowing derived object.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux