Global data loaded if symbols aren't resolved

Ian Lance Taylor
Mon Aug 17 20:57:00 GMT 2009

Marcus Clyne <> writes:

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


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


> 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.,


More information about the Gcc-help mailing list