Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2012 22:28:00 +0100
From:      John Marino <draco@marino.st>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Pedro Giffuni <pfg@freebsd.org>, freebsd-toolchain@freebsd.org
Subject:   Re: DragonFly added support for ELF preinit, init, and fini arrays
Message-ID:  <4F3D74E0.4030408@marino.st>
In-Reply-To: <20120216202709.GQ3283@deviant.kiev.zoral.com.ua>
References:  <4F3C5A3A.6050107@FreeBSD.org> <20120216154730.GL3283@deviant.kiev.zoral.com.ua> <4F3D3409.3040006@marino.st> <20120216202709.GQ3283@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/16/2012 21:27, Konstantin Belousov wrote:
> On Thu, Feb 16, 2012 at 05:51:21PM +0100, John Marino wrote:
>> One obvious case for the immediate use is the building of gold linker in
>> binutils 2.22.  By default, it moves constructors into the init array,
>> so gold will segfault if it was linked with itself.  (The workaround is
>> to patch option.h file to change the ctors-in-init-array to false before
>> building gold so it has the same behavior as gnu ld).
> Linking gold with gold is quite a work to setup a test case.
> Could you provide me with isolated test cases like you did for the
> exception handling ?


Yes, I have several isolated tests that I pulled out of the glibc test 
framework.  I can also pull small tests out of the ld testsuite as well 
as the gold testsuite.  I'm on a business trip at the moment with a big 
deliverable tomorrow, so I wouldn't be able to really get to it until 
Saturday at the earliest.

Regards,
John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F3D74E0.4030408>