This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to correct LINK_PIE_SPEC


On Mon, Nov 15, 2004 at 01:52:10PM +0100, Peter S. Mazinger wrote:
> > Why should it? GCC -pie option means:
> > 1) pass -pie to the linker if it supports it
> > 2) user appropriate startfiles and/or libraries for PIE generation
> 
> yes, that's it, use appropiate startfiles (and this appropiate startfile 
> should provide also path for Scrt1.o because the normal startfile 
> definition won't be used)

So, can you summarize why do you think your patch is an improvement
over current situation?
If you use gcc -shared -nostartfiles -nostdlibs, it doesn't mean gcc
doesn't pass -shared to ld either, and -pie should certainly behave
consistently with that.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]