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

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 2 18:10:00 GMT 2011


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

--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-02 18:09:41 UTC ---
(In reply to comment #14)
> > 
> > .init_array section is an array of pointers. How do you grep it?
> 
> You arrange for the pointers to be assigned values whose bytes happen to 
> correspond to text (endian-independent text, ideally).  Just like using 
> grep to determine target endianness or floating point format.

I couldn't find an uniform way to assign a fixed address to symbol
in a section which works for all ELF targets.



More information about the Gcc-bugs mailing list