This is the mail archive of the gcc@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: why the difference of two global pointers is not a constant?


"Rafael EspÃndola" <rafael.espindola@gmail.com> writes:

> The reason why I want to do this is to avoid relocations when a dso is
> loaded.

Use prelinking.  That works for all relocation types, and doesn't
require additional coding.

Ian


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