This is the mail archive of the binutils@sourceware.org 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: ld -shared -pie revisited


On Mon, Oct 05, 2009 at 07:44:05PM -0400, Mark Lodato wrote:
> Would "gcc -fPIC -pie" not be sufficient?

No, -fPIE makes symbol binding assumptions, but ld -pie enforces them.

-- 
Daniel Jacobowitz
CodeSourcery


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