This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Fix problems with mixed PIC/non-PIC objects in PIE output
Cary Coutant <ccoutant@google.com> writes:
> * symtab.h (Symbol::needs_dynamic_reloc): Non-PIC calls from
> position-independent executables to shared libraries need dynamic
> relocations.
> (Symbol::may_need_copy_reloc): Do not generate COPY relocs in
> position-independent executables.
> * testsuite/Makefile.am (two_file_mixed_pie_test): New test.
> * testsuite/Makefile.in: Regenerate.
This is OK.
Thanks.
Ian