This is the mail archive of the
mailing list for the GCC project.
Re: Patch to correct LINK_PIE_SPEC
Peter S. Mazinger wrote:
> > Where do you see any justification for these options affecting the
> > linker arguments, other than libraries or startfiles?
> Sorry, I do not change nostdlib/nostartfiles behaviour, I use these as
> exclusion for -pie. If we provide -nostartfiles, the Scrt1.o file won't be
> provided and a PIE executable can't be built
Unless an own implementation of Scrt1.o is explicitly provided. Which
seems to be the intention when somebody uses -pie -nostartfiles.