This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH for i386: --no-copy-relocs
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.