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: secureplt breaks ld on Alpha Linux



On Sun, 31 Aug 2014, Richard Henderson wrote:

> On 08/30/2014 06:46 AM, Mikulas Patocka wrote:
> > The only possibility to save them is in the code at the beginning of 
> > _PROCEDURE_LINKAGE_TABLE_ - do you think it would be possible to save the 
> > registers on the stack here? Or, would it cause unwind problems?
> 
> It wouldn't work.

Yes. I would also break __builtin_return_address.

> > What exactly these anotations do? Do they turn off lazy binding?
> 
> Yes.  Other examples include _mcount, and the division routines.
> 
> r~

So, what exactly should be done? Can we hack ld so that if filename is 
"libots.so", lazy binding for symbols in this library is turned off 
automatically?

Mikulas


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