[PATCH, RFC] gcov: dump in a static dtor instead of in an atexit handler

Martin Liška mliska@suse.cz
Fri Sep 30 13:07:00 GMT 2016


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.

Can you please test whether it makes any change on a solaris target w/o
prioritized ctors/dtors?

Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-gcov-exit.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160930/0c2eeecb/attachment.bin>


More information about the Gcc-patches mailing list