On 08/18/2011 02:51 PM, Sriraman Tallam wrote:
> Oh!, right, sorry. So, the only available option now is to mark it as
> a constructor in libgcc.

Or call it explicitly from the out-of-line tests.

The thing is, if you intend to use this from ifunc tests, I believe
that these can run *extremely* early.  E.g. LD_BIND_NOW=1 will run
these while relocating the entire application, and therefore before
any of DT_INIT (aka .ctors), DT_INIT_ARRAY, or DT_PREINIT_ARRAY.


r~

Reply via email to