[gold patch] Fix problems with mixed PIC/non-PIC objects in PIE output

Ian Lance Taylor iant@google.com
Sun Sep 12 06:04:00 GMT 2010
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



More information about the Binutils mailing list