Global data loaded if symbols aren't resolved

Ian Lance Taylor iant@google.com
Mon Aug 17 20:57:00 GMT 2009


Marcus Clyne <maccaday@gmail.com> writes:

> Would pages that used symbols from other libraries be included in the
> pages that are copied and modified?

No.

> If that's the case, what about
> pages that have calls to symbols in the standard c library.Are they
> also copied/modified?

No.

> What about global variables inside the shared
> object?  Presumably they are copied, no?

Typically yes.

Rather than ask these precise questions which are somewhat off the
point, I think you should read up on how shared libraries work.  E.g.,
    http://www.airs.com/blog/archives/41

Ian



More information about the Gcc-help mailing list