This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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] ld support for position independent executables


On Thu, May 29, 2003 at 03:03:53PM +0200, Jakub Jelinek wrote:
> -fpic), gcc will still need changing (at least specs file changes
> to use Scrt1.o and pass -pie through to ld, but I'd like also to add
> -fpie/-fPIE switches similar to -fpic/-fPIC, which would allow gcc to make
> similar assumptions about symbol visibility as for binaries.

This sounds like a perfect example to split up the current
-fPIC/flag_pic to separate between PIC code and shared library code...
esp. for arches where all code is PIC anyway.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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