[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 30 16:57:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237

--- Comment #10 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-08-30 16:39:39 UTC ---
On Tue, 30 Aug 2011, hjl.tools at gmail dot com wrote:

> The main issue is mixing input .ctors sections with .init_array sections
> to generate the single output .init_array section.  Not all linkers support
> it even if they support .init_array section.  How should we properly
> test this?

Is it not possible to link (with -r, maybe) objects and examine the output 
with target objdump to see if .ctors sections are still present?



More information about the Gcc-bugs mailing list