This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/4409: --unresolved-symbols=ignore-all issues on ia64
On Tue, Jul 03, 2007 at 11:32:57AM -0700, Eric Christopher wrote:
>
> On Jul 3, 2007, at 11:29 AM, Andreas Schwab wrote:
>
> >"H.J. Lu" <hjl@lucon.org> writes:
> >
> >>Now the question is what linker should do when 2 exclusive options,
> >>like:
> >>
> >> -shared, -Bshareable Create a shared library
> >> -pie, --pic-executable Create a position independent executable
> >>
> >>are given at the same time. Linker can issue an error or let the
> >>last one wins. I am OK with either choice. What do people perfer?
> >>Whatever we do, we should be consistent.
> >
> >In gcc -shared wins over -pie.
>
> And that's definitely what we should do.
Where is it documented. Gcc 4.3 just passes "-shared -pie" to
linker. I don't see gcc driver remove -pie.
H.J.