PATCH for i386: --no-copy-relocs

H . J . Lu hjl@lucon.org
Thu Jun 21 12:05:00 GMT 2001


On Wed, Jun 20, 2001 at 12:22:03AM -0700, Ian Lance Taylor wrote:
> 
> The COPY reloc is used when a variable appears in a shared library,
> and it is referenced by the main executable, and the main executable
> does not use the GOT to reference it.  We have two choices: 1) put a

I see. So if the main executable is compiled with PIC, should the
linker still generate the COPY reloc?


H.J.



More information about the Binutils mailing list