This is consistent with how array inits are called, and also makes us more compatible with glibc environment.
Requested by: Alex S <iwtcex@gmail.com>
PR: 249162
Differential D26351
rtld: pass argc/argv/env to dso inits. kib on Sep 7 2020, 11:39 AM. Authored by Tags None Referenced Files
Details
This is consistent with how array inits are called, and also makes us more compatible with glibc environment. Requested by: Alex S <iwtcex@gmail.com>
Diff Detail
Event TimelineComment Actions LGTM, I don't see any downsides. I sort of feel like it's asymmetric that the arguments aren't passed to the fini functions, but glibc also doesn't do that. :) |