Date: Thu, 16 Feb 2012 17:47:30 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Pedro Giffuni <pfg@freebsd.org> Cc: John Marino <draco@marino.st>, freebsd-toolchain@freebsd.org Subject: Re: DragonFly added support for ELF preinit, init, and fini arrays Message-ID: <20120216154730.GL3283@deviant.kiev.zoral.com.ua> In-Reply-To: <4F3C5A3A.6050107@FreeBSD.org> References: <4F3C5A3A.6050107@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Feb 15, 2012 at 08:22:02PM -0500, Pedro Giffuni wrote: > Hello; > > FYI, this commit in DragonFly seems interesting: > > http://leaf.dragonflybsd.org/mailarchive/commits/2012-02/msg00146.html > > It appears like linux had them from a while and some years ago they started > using them for C++ in gcc: > > http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01872.html > > cheers, If you read the commit message, you will notice something at the end. I have WIP patches to add support for the init arrays to our rtld. It is not tested yet, and I want to ponder more about the ABI changes in csu that I introduce. In fact, I am more interested in having answer to the question, what immediate and long-term use do we have for the feature. Also, I want non-artificial test cases for DT_INIT_ARRAY and DT_FINI_ARRAY. http://people.freebsd.org/~kib/misc/init_array.1.patch [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk89JRIACgkQC3+MBN1Mb4jwbgCdEjrMOSnFnkNWvIH8+Gb4WnIk yWsAn1L8bWpl/TJ+gaDoIw5nZ9uj/tmS =qhbl -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120216154730.GL3283>
