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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to