|
From: | ian at airs dot com |
Subject: | [Bug binutils/14009] gcc 4.7 conversion to init_array breaks users needing control of C++ static initialization order |
Date: | Mon, 23 Apr 2012 03:27:43 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14009 --- Comment #7 from Ian Lance Taylor <ian at airs dot com> 2012-04-23 03:27:43 UTC --- As far as I can see you can use the exact same strategy for .init_array, only you sort the sections the other way around. You may think that the .ctors sections contain the constructor code. They do not. They contain pointers to the constructor code. The .init_array sections also hold pointers to the constructor code. In fact they hold the exact same pointers. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |