]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: add framework for declaring init callbacks locally
authorMike Frysinger <vapier@gentoo.org>
Sat, 2 Jan 2016 15:50:46 +0000 (10:50 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 2 May 2021 00:47:14 +0000 (20:47 -0400)
commit8e5f15165784296f5b182f486817cd5945960c44
treef3d50c796ae717a3242514848a6d49e92f21be5f
parentd113096b47e4cce45e0f2ea4bb588b8a86835648
sim: add framework for declaring init callbacks locally

To facilitate decentralized module initialization/registration with an
eye towards multi-target support, add a framework to detect init calls
declared in the source and automatically call them.  This is akin to
gdb's _initialize_xxx framework for letting modules autodiscover.
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/sim-module.c
sim/common/sim-module.h