[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default value for CFLAGS/LDFLAGS set by dpkg



On Mon, Mar 31, 2008 at 10:23:59PM +0000, brian m. carlson wrote:
> LD_PRELOAD would still be able to override it, because by default, ELF  
> shared libraries use relocations that must be serviced by ld.so.   

That part is incorrect.  A hidden symbol binds at link time; ld.so
is never given the chance to resolve anything to it.  You end up
with relative relocations or fixed PC-relative offsets.

-- 
Daniel Jacobowitz
CodeSourcery


Reply to: