Give a chance to the target binary to run the ctors by waiting until it
has reached main(). This allows plockstat to work. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
47047e3418
commit
7879263397
@ -1103,7 +1103,7 @@ alloc:
|
||||
#if defined(sun)
|
||||
dtp->dt_prcmode = DT_PROC_STOP_PREINIT;
|
||||
#else
|
||||
dtp->dt_prcmode = DT_PROC_STOP_POSTINIT;
|
||||
dtp->dt_prcmode = DT_PROC_STOP_MAIN;
|
||||
#endif
|
||||
dtp->dt_linkmode = DT_LINK_KERNEL;
|
||||
dtp->dt_linktype = DT_LTYP_ELF;
|
||||
|
Loading…
x
Reference in New Issue
Block a user