On 10/03/2016 03:03 PM, Rainer Orth wrote:
> Hi Martin,
> 
>> On 09/30/2016 02:31 PM, Rainer Orth wrote:
>>> this would be i386-pc-solaris2.12.  I'm not sure if the constructor
>>> priority detection works in a cross scenario.
>>>
>>> I'm attaching the resulting assembly (although for Solaris as, the gas
>>> build is still running).
>>
>> Hi. Sorry, I have a stupid mistake in dtor priority
>> (I used 65534 instead of desired 99). Please try to test it on Solaris 12
>> with the attached patch. I'll send the patch to ML soon.
> 
> unfortunately, the patch makes no difference on Solaris 12.  The test
> even FAILs when using gas/gld, which is a different/independent
> implementation of constructor priority.

Ok, can you please send me x.S file for Solaris 12?

> 
>> Can you please test whether it makes any change on a solaris target w/o
>> prioritized ctors/dtors?
> 
> It doesn't: the test PASSes on Solaris 10 and 11 with and without your
> patch.

I see, that would require the former approach using atexit, which would be
chosen depending on whether target supports prioritized dtors or not.

Martin

> 
>       Rainer
> 

Reply via email to