<p style="white-space: pre-wrap; word-wrap: break-word;">the on_dso_load_* functions in old openbsc.git were actually used this way, i.e they were declared in a way that the linker produced some magic to automatically execute them at statup of the process. You don't strictly need a DSO to make __attribute__((constructor)) work.</p><p style="white-space: pre-wrap; word-wrap: break-word;">It seems this was somehow modified/disabled during the migration away from openbsc.git.  Please add some historic info to the changelog</p><p><a href="https://gerrit.osmocom.org/10338">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/10338">change 10338</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10338"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I24d0c9ad52f07f08176ad129878b48a591a3af6c </div>
<div style="display:none"> Gerrit-Change-Number: 10338 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 05 Aug 2018 06:59:05 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>